### What problem does this PR solve?


### Type of change

- [x] Refactoring
This commit is contained in:
KevinHuSh
2024-06-12 11:02:15 +08:00
committed by GitHub
parent 2cc89211f6
commit abcd3d2469
7 changed files with 73 additions and 83 deletions

View File

@ -154,11 +154,6 @@ class LoggerFactory(object):
delay=True)
if level:
handler.level = level
else:
handler.level = LoggerFactory.LEVEL
formatter = logging.Formatter(LoggerFactory.LOG_FORMAT)
handler.setFormatter(formatter)
return handler