Add debug to logger import
This commit is contained in:
parent
f8836517c1
commit
3c5186827e
@ -5,4 +5,6 @@ def out(msg :str, level :str = "OTHR"):
|
|||||||
print(logline)
|
print(logline)
|
||||||
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")
|
Reference in New Issue
Block a user