Changed Logger output

master
alex 2023-08-05 15:55:25 +02:00
parent d02a1beb9e
commit d9ef99dcb1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class Logger:
if not os.path.exists(path=cls.path):
os.makedirs(os.path.dirname(cls.path), exist_ok=True)
with open(cls.path, 'a') as file:
message = datetime.datetime.now().strftime('%Y.%m.%d %H:%M:%S') + ' ' + entry + ': ' + msg + ' ' + str(kind) + '\n'
message = datetime.datetime.now().strftime('%Y.%m.%d %H:%M:%S') + ' ' + entry + ': ' + str(kind) + ' ' + msg + '\n'
file.write(message)
@classmethod