From 3c5186827e1e6f4ffbed9cea127d7296459adeb5 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 1 Jun 2023 09:10:51 +0100 Subject: [PATCH] Add debug to logger import --- src/logger.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/logger.py b/src/logger.py index 7a01371..8940e64 100644 --- a/src/logger.py +++ b/src/logger.py @@ -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') \ No newline at end of file + logfile.write(f'{logline}\n') + +log.out("logger.py: Logger module loaded", "DBUG") \ No newline at end of file