misc: add missing .warning() method to NullLogger (#45709)
This commit is contained in:
parent
eefd93a5b3
commit
02fd08460c
|
@ -429,10 +429,16 @@ class QommonPublisher(Publisher, object):
|
|||
class NullLogger(object):
|
||||
def error(self, *args):
|
||||
pass
|
||||
|
||||
def warn(self, *args):
|
||||
pass
|
||||
|
||||
def warning(self, *args):
|
||||
pass
|
||||
|
||||
def info(self, *args):
|
||||
pass
|
||||
|
||||
def debug(self, *args):
|
||||
pass
|
||||
self._app_logger = NullLogger()
|
||||
|
|
Loading…
Reference in New Issue