From 404c26aaa879982cb8a26db31b23a3c92cf085ff Mon Sep 17 00:00:00 2001 From: SylviaWhittle Date: Thu, 23 Nov 2023 16:38:20 +0000 Subject: [PATCH] Improve logging format --- topofileformats/logging.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/topofileformats/logging.py b/topofileformats/logging.py index c730233..5d3a70f 100644 --- a/topofileformats/logging.py +++ b/topofileformats/logging.py @@ -9,6 +9,7 @@ logger.add( sys.stderr, colorize=True, - format="{time:HH:mm:ss} | {file}:{module}:" - "{function}:{line} | {message}", + format="{time:HH:mm:ss} | {level} |" + "{file}:{module}:" + "{function}:{line} | {message}", )