mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Pass write down from commands to logging handler.
This commit is contained in:
parent
374ef75835
commit
5386b0eea0
2 changed files with 2 additions and 2 deletions
|
|
@ -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(),
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue