mirror of
https://github.com/friendica/friendica
synced 2025-01-03 14:42:18 +00:00
Merge pull request #14135 from tobiasd/colorize-loglevels
Colorize loglevels
This commit is contained in:
commit
9dc0e5393e
2 changed files with 25 additions and 1 deletions
|
@ -749,3 +749,27 @@ figure.img-allocated-height img{
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Log levels colorized in the admin panel
|
||||||
|
**/
|
||||||
|
.loglevel-debug {
|
||||||
|
}
|
||||||
|
.loglevel-info {
|
||||||
|
color: #0f009f; /* blue */
|
||||||
|
}
|
||||||
|
.loglevel-notice {
|
||||||
|
color: #007e01; /* green */
|
||||||
|
}
|
||||||
|
.loglevel-warning {
|
||||||
|
color: #de9600; /* dark orange */
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.loglevel-error {
|
||||||
|
color: #ff0000; /* red */
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.loglevel-critical {
|
||||||
|
color: #731289; /* purple */
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
style="cursor:pointer;"
|
style="cursor:pointer;"
|
||||||
title="{{$l10n.Click_to_view_details}}">
|
title="{{$l10n.Click_to_view_details}}">
|
||||||
<td>{{$row->date}}</td>
|
<td>{{$row->date}}</td>
|
||||||
<td>{{$row->level}}</td>
|
<td class="loglevel-{{$row->level|lower}}">{{$row->level}}</td>
|
||||||
<td>{{$row->context}}</td>
|
<td>{{$row->context}}</td>
|
||||||
<td>{{$row->message}}</td>
|
<td>{{$row->message}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue