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

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