Add file log offlineTTSBot.log, rotation 5MB

This commit is contained in:
norohind 2022-03-16 17:10:39 +03:00
parent d89c98fea5
commit ecb240db34
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -9,6 +9,8 @@ from DynamicCommandPrefix import dynamic_command_prefix
import Observ
logger.add('offlineTTSBot.log', backtrace=True, diagnose=False, rotation='5MB')
"""
while msg := input('$ '):
start = time.time()