Merge "Make NullLogger more logger like"

This commit is contained in:
Jenkins 2016-11-03 02:07:48 +00:00 committed by Gerrit Code Review
commit a852b1ecd7

View File

@ -1367,6 +1367,27 @@ class NullLogger(object):
# "Logs" the args to nowhere
pass
def exception(self, *args):
pass
def critical(self, *args):
pass
def error(self, *args):
pass
def warning(self, *args):
pass
def info(self, *args):
pass
def debug(self, *args):
pass
def log(self, *args):
pass
class LoggerFileObject(object):