Level name formatting

This commit is contained in:
DarkCat09 2023-07-04 14:47:22 +04:00
parent 4f65434628
commit 7ebf0eb44b

View file

@ -5,7 +5,7 @@ import logging
log = logging.getLogger('aternos')
handler = logging.StreamHandler()
fmt = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
fmt = logging.Formatter('%(asctime)s %(levelname)-5s %(message)s')
handler.setFormatter(fmt)
log.addHandler(handler)