'#DFFFE0', CLogger::LEVEL_INFO=>'#FFFFDF', CLogger::LEVEL_WARNING=>'#FFDFE5', CLogger::LEVEL_ERROR=>'#FFC0CB', ); foreach($data as $index=>$log) { $color=($index%2)?'#F5F5F5':'#FFFFFF'; if(isset($colors[$log[1]])) $color=$colors[$log[1]]; $message='
'.CHtml::encode(wordwrap($log[0])).'
'; $time=date('H:i:s.',$log[3]).(int)(($log[3]-(int)$log[3])*1000000); echo << EOD; } ?>
Log aplicatie
Timestamp Nivel Categorie Mesaj
{$time} {$log[1]} {$log[2]} {$message}