Fix incorrect logger implementation
This commit is contained in:
@@ -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")
|
||||||
Reference in New Issue
Block a user