From 428c6bf8d0b4e076bac678ff2d104a487d4067f5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 23 Nov 2024 13:40:54 +0800 Subject: [PATCH] bugfix --- appPublic/log.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appPublic/log.py b/appPublic/log.py index 5cb384b..a2e9173 100644 --- a/appPublic/log.py +++ b/appPublic/log.py @@ -16,7 +16,7 @@ def my_function(): @SingletonDecorator class MyLogger: levels={ - "client":7, + "clientinfo":7, "info":6, "debug":5, "warning":4, @@ -65,10 +65,10 @@ class MyLogger: self.logger.flush() self.close_logger() -def client(message): +def clientinfo(message): frame_info = inspect.currentframe() logger = MyLogger('Test') - logger.log('client', message, frame_info) + logger.log('clientinfo', message, frame_info) def info(message): frame_info = inspect.currentframe()