fix log standard output error

This commit is contained in:
Jaxsen Xu(许润杰) 2021-12-20 19:56:06 +08:00
parent 299a1f6a21
commit 3f1baa61d3

View File

@ -136,7 +136,9 @@ class AbstractFormatUtil(object):
class LogFormatUtil(AbstractFormatUtil):
def format(self, *args, **kwargs):
@classmethod
def format(cls, *args, **kwargs):
self = LogFormatUtil()
self.time = args[0]
self.tag = args[1]
self.level = args[2]