1
<!-- start log messages -->
2
<table class="yiiLog" width="100%" cellpadding="2" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;">
4
<th style="background:black;color:white;" colspan="5">
8
<tr style="background-color: #ccc;">
9
<th style="width:120px">Tidstämpel</th>
16
CLogger::LEVEL_PROFILE=>'#DFFFE0',
17
CLogger::LEVEL_INFO=>'#FFFFDF',
18
CLogger::LEVEL_WARNING=>'#FFDFE5',
19
CLogger::LEVEL_ERROR=>'#FFC0CB',
21
foreach($data as $index=>$log)
23
$color=($index%2)?'#F5F5F5':'#FFFFFF';
24
if(isset($colors[$log[1]]))
25
$color=$colors[$log[1]];
26
$message='<pre>'.CHtml::encode(wordwrap($log[0])).'</pre>';
27
$time=date('H:i:s.',$log[3]).(int)(($log[3]-(int)$log[3])*1000000);
30
<tr style="background:{$color}">
31
<td align="center">{$time}</td>
40
<!-- end of log messages -->
b'\\ No newline at end of file'