фигня
This commit is contained in:
parent
aa24383f54
commit
5c29c98550
@ -4,6 +4,7 @@ import sys
|
||||
log_format = logging.Formatter('%(asctime)s %(levelname)s:%(message)s')
|
||||
log_file = 'output.log'
|
||||
|
||||
|
||||
class CustomFormatter(logging.Formatter):
|
||||
|
||||
grey = "\x1b[38;20m"
|
||||
@ -26,6 +27,7 @@ class CustomFormatter(logging.Formatter):
|
||||
formatter = logging.Formatter(log_fmt)
|
||||
return formatter.format(record)
|
||||
|
||||
|
||||
class MyLog:
|
||||
|
||||
def __init__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user