bugfix
This commit is contained in:
parent
7140863800
commit
428c6bf8d0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user