Fixed logging #123

This commit is contained in:
Sven Heidemann 2022-11-30 15:17:08 +01:00
parent 23efb776e7
commit db28645e98

View File

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