With this patch the error levels shown in the Admin Panel -> Log view are coloured according to severity. Starting from green for debug, over orange for notices to bold red for errors and criticals.
width: 48px;
height: 48px;
}
+
+/**
+ * Log levels colorized in the admin panel
+ **/
+.loglevel-debug {
+ color: #00ff00; /* green */
+}
+.loglevel-info {
+ color: #013220; /* dark green */
+}
+.loglevel-notice {
+ color: #ffa500; /* orange */
+}
+.loglevel-warning {
+ color: #ff8c00; /* dark orange */
+}
+.loglevel-error {
+ color: #ff0000; /* red */
+ font-weight: bold;
+}
+.loglevel-critical {
+ color: #8b0000; /* dark red */
+ font-weight: bold;
+}
style="cursor:pointer;"
title="{{$l10n.Click_to_view_details}}">
<td>{{$row->date}}</td>
- <td>{{$row->level}}</td>
+ <td class="loglevel-{{$row->level|lower}}">{{$row->level}}</td>
<td>{{$row->context}}</td>
<td>{{$row->message}}</td>
</tr>