nextcloud/settings/templates/log.php

29 lines
600 B
PHP
Raw Normal View History

2011-10-16 22:49:14 +04:00
<?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.
*/
2011-10-16 23:08:44 +04:00
$levels=array('Debug','Info','Warning','Error','Fatal');
2011-10-16 22:49:14 +04:00
?>
<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>