remove unused method

This commit is contained in:
Alan Hamlett 2016-09-01 12:28:55 +02:00
parent b5201f16fa
commit 48591d2767

View file

@ -61,9 +61,6 @@ class JsonFormatter(logging.Formatter):
lvl = logger.getEffectiveLevel() lvl = logger.getEffectiveLevel()
logger.log(lvl, traceback.format_exc()) logger.log(lvl, traceback.format_exc())
def formatException(self, exc_info):
raise RuntimeError('Use traceback method instead.')
def set_log_level(logger, args): def set_log_level(logger, args):
level = logging.WARN level = logging.WARN