fixed adapter init
This commit is contained in:
parent
8924904400
commit
6e41601616
@ -64,7 +64,7 @@ class AuditAdapter(logging.LoggerAdapter):
|
|||||||
warn = logging.LoggerAdapter.warning
|
warn = logging.LoggerAdapter.warning
|
||||||
|
|
||||||
def __init__(self, logger):
|
def __init__(self, logger):
|
||||||
logging.LoggerAdapter.__init__(self)
|
logging.LoggerAdapter.__init__(self, logger, dict())
|
||||||
self.logger = logger
|
self.logger = logger
|
||||||
|
|
||||||
def audit(self, msg, *args, **kwargs):
|
def audit(self, msg, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user