Logging Farben #123 #126

Merged
edraft merged 1 commits from #123 into 2022.12 2022-11-30 18:06:12 +01:00

View File

@ -169,7 +169,7 @@ class Logger(LoggerABC):
# check if message can be shown in console
if self._console.value >= LoggingLevelEnum.TRACE.value:
Console.set_foreground_color(ForegroundColorEnum.green)
Console.set_foreground_color(ForegroundColorEnum.grey)
Console.write_line(output)
Console.set_foreground_color(ForegroundColorEnum.default)
@ -182,7 +182,7 @@ class Logger(LoggerABC):
# check if message can be shown in console
if self._console.value >= LoggingLevelEnum.DEBUG.value:
Console.set_foreground_color(ForegroundColorEnum.green)
Console.set_foreground_color(ForegroundColorEnum.blue)
Console.write_line(output)
Console.set_foreground_color(ForegroundColorEnum.default)