Fix incorrect logger implementation
This commit is contained in:
parent
3c5186827e
commit
8a274a3e7c
@ -7,4 +7,5 @@ def out(msg :str, level :str = "OTHR"):
|
||||
with open(tmpfile, 'a') as logfile:
|
||||
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")
|
Reference in New Issue
Block a user