mirror of https://github.com/Icinga/icinga2.git
Made warning and critical messages bold.
This commit is contained in:
parent
886fd3a5b8
commit
0ca8012079
|
@ -85,10 +85,10 @@ void StreamLogger::ProcessLogEntry(ostream& stream, bool tty, const LogEntry& en
|
||||||
String colorCode;
|
String colorCode;
|
||||||
switch (entry.Severity) {
|
switch (entry.Severity) {
|
||||||
case LogWarning:
|
case LogWarning:
|
||||||
colorCode = "\x1b[33m"; // yellow;
|
colorCode = "\x1b[1;33m"; // yellow;
|
||||||
break;
|
break;
|
||||||
case LogCritical:
|
case LogCritical:
|
||||||
colorCode = "\x1b[31m"; // red
|
colorCode = "\x1b[1;31m"; // red
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue