29 lines
No EOL
600 B
PHP
29 lines
No EOL
600 B
PHP
<?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','Warning','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>
|