mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Add fatal to logging
This commit is contained in:
parent
e35a2b3753
commit
0812d9ca02
@ -253,11 +253,13 @@ class Helpers:
|
||||
(r'(\[.+?/INFO\])', r'<span class="mc-log-info">\1</span>'),
|
||||
(r'(\[.+?/WARN\])', r'<span class="mc-log-warn">\1</span>'),
|
||||
(r'(\[.+?/ERROR\])', r'<span class="mc-log-error">\1</span>'),
|
||||
(r'(\w+?\[/\d+?\.\d+?\.\d+?\.\d+?\:\d+?\])', r'<span class="mc-log-keyword">\1</span>'),
|
||||
(r'\[(\d\d:\d\d:\d\d)\]', r'<span class="mc-log-time">[\1]</span>'),
|
||||
(r'(\[.+?/FATAL\])', r'<span class="mc-log-fatal">\1</span>'),
|
||||
(r'(\w+?\[/\d+?\.\d+?\.\d+?\.\d+?\:\d+?\])', r'<span class="mc-log-keyword">\1 </span>'),
|
||||
(r'\[(\d\d:\d\d:\d\d)\]', r'<span class="mc-log-time">[\1] </span>'),
|
||||
(r'(\[.+? INFO\])', r'<span class="mc-log-info">\1</span>'),
|
||||
(r'(\[.+? WARN\])', r'<span class="mc-log-warn">\1</span>'),
|
||||
(r'(\[.+? ERROR\])', r'<span class="mc-log-error">\1</span>')
|
||||
(r'(\[.+? FATAL\])', r'<span class="mc-log-fatal">\1</span>')
|
||||
]
|
||||
|
||||
# highlight users keywords
|
||||
|
@ -50,7 +50,11 @@
|
||||
}
|
||||
|
||||
.mc-log-error{
|
||||
color:#ff6258;
|
||||
color:#af463f;
|
||||
}
|
||||
|
||||
.mc-log-fatal{
|
||||
color:#da0f00;
|
||||
}
|
||||
|
||||
.mc-log-keyword{
|
||||
|
Loading…
x
Reference in New Issue
Block a user