фигня

This commit is contained in:
lulzette 2024-05-20 21:13:39 +03:00
parent aa24383f54
commit 5c29c98550

View File

@ -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):