diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 20:49:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:11:03 +0200 |
commit | 820cd0fb75bac88b4debe8f3fb28c1118b8587fa (patch) | |
tree | 703f54b527bd6ae822d7c1c2e030e544791679a5 /settings/templates | |
parent | d11a8f4103c4de974f2f52c30defaeb7c1055819 (diff) | |
download | nextcloud-server-820cd0fb75bac88b4debe8f3fb28c1118b8587fa.tar.gz nextcloud-server-820cd0fb75bac88b4debe8f3fb28c1118b8587fa.zip |
provide a logging mechanism
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/log.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/settings/templates/log.php b/settings/templates/log.php new file mode 100644 index 00000000000..467f594186c --- /dev/null +++ b/settings/templates/log.php @@ -0,0 +1,29 @@ +<?php /** + * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> + * This file is licensed under the Affero General Public License version 3 or later. + * See the COPYING-README file. + */ +$levels=array('DEBUG','INFO','WARN','ERROR','FATAL'); +?> + +<div id="controls"> + +</div> +<table> + <?php foreach($_['entries'] as $entry):?> + <tr> + <td> + <?php echo $levels[$entry->level];?> + </td> + <td> + <?php echo $entry->app;?> + </td> + <td> + <?php echo $entry->message;?> + </td> + <td> + <?php echo $l->l('datetime',$entry->time);?> + </td> + </tr> + <?php endforeach;?> +</table>
\ No newline at end of file |