Pass write down from commands to logging handler.

This commit is contained in:
Anthony Sottile
2014-04-13 18:43:43 -07:00
parent 374ef75835
commit 5386b0eea0
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ class LoggingHandler(logging.Handler):
'[{0}]'.format(record.levelname),
LOG_LEVEL_COLORS[record.levelname],
self.use_color,
) + ' ' if record.levelno >= logging.WARNING else '',
) + ' ',
record.getMessage(),
)
)