mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-25 02:08:41 -06:00
Pass write down from commands to logging handler.
This commit is contained in:
@@ -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(),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user