mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
parent
26e60fa333
commit
b81c9802ae
28 changed files with 58 additions and 58 deletions
|
|
@ -22,9 +22,9 @@ class LoggingHandler(logging.Handler):
|
|||
|
||||
def emit(self, record):
|
||||
self.__write(
|
||||
u'{0}{1}\n'.format(
|
||||
'{}{}\n'.format(
|
||||
color.format_color(
|
||||
'[{0}]'.format(record.levelname),
|
||||
'[{}]'.format(record.levelname),
|
||||
LOG_LEVEL_COLORS[record.levelname],
|
||||
self.use_color,
|
||||
) + ' ',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue