Merge branch 'main' of https://egit.irs.uni-stuttgart.de/fsfw/fsfw-generators
This commit is contained in:
commit
80312ed21e
3
core.py
3
core.py
@ -19,7 +19,8 @@ def get_console_logger():
|
|||||||
def init_console_logger():
|
def init_console_logger():
|
||||||
handler = colorlog.StreamHandler()
|
handler = colorlog.StreamHandler()
|
||||||
handler.setFormatter(colorlog.ColoredFormatter(
|
handler.setFormatter(colorlog.ColoredFormatter(
|
||||||
'%(log_color)s%(levelname)s: %(message)s'))
|
'%(log_color)s%(levelname)-8s | %(reset)s%(message)s'
|
||||||
|
))
|
||||||
|
|
||||||
logger = colorlog.getLogger(CONSOLE_LOGGER_NAME)
|
logger = colorlog.getLogger(CONSOLE_LOGGER_NAME)
|
||||||
logger.addHandler(handler)
|
logger.addHandler(handler)
|
||||||
|
Loading…
Reference in New Issue
Block a user