Add debug to logger import

This commit is contained in:
Fred Boniface 2023-06-01 09:10:51 +01:00
parent f8836517c1
commit 3c5186827e

View File

@ -6,3 +6,5 @@ def out(msg :str, level :str = "OTHR"):
tmpfile = "dbman-log" tmpfile = "dbman-log"
with open(tmpfile, 'a') as logfile: with open(tmpfile, 'a') as logfile:
logfile.write(f'{logline}\n') logfile.write(f'{logline}\n')
log.out("logger.py: Logger module loaded", "DBUG")