Fix incorrect logger implementation

This commit is contained in:
Fred Boniface 2023-06-01 09:29:39 +01:00
parent 3c5186827e
commit 8a274a3e7c

View File

@ -7,4 +7,5 @@ def out(msg :str, level :str = "OTHR"):
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") # Needs to call 'out' not log.out from inside this module
out("logger.py: Logger module loaded", "DBUG")