]> granicus.if.org Git - icinga2/commitdiff
Add color code for LogDebug
authorGunnar Beutner <gunnar@beutner.name>
Sun, 19 Oct 2014 00:39:45 +0000 (02:39 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Sun, 19 Oct 2014 00:39:45 +0000 (02:39 +0200)
fixes #7416

lib/base/streamlogger.cpp

index 34c478a0c19af6a387da769b938d3c0547b6f1d1..ee2cf90ffcaf1b645d6c17c8b0fc176e26eb3a2a 100644 (file)
@@ -103,6 +103,9 @@ void StreamLogger::ProcessLogEntry(std::ostream& stream, const LogEntry& entry)
        ConsoleColor color;
 
        switch (entry.Severity) {
+               case LogDebug:
+                       color = Console_ForegroundCyan;
+                       break;
                case LogNotice:
                        color = Console_ForegroundBlue;
                        break;