Merge pull request 'Logging Farben #123' (#126) from #123 into 2022.12

Reviewed-on: #126
Closes #123
This commit is contained in:
Sven Heidemann 2022-11-30 18:06:12 +01:00
commit f08eb42105

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)