TotalFreedomBot/logscript.py
2021-01-07 20:14:15 +01:00

4 lines
135 B
Python

import logging
logging.basicConfig(level=logging.CRITICAL, format='%(message)s', handlers=[
logging.FileHandler('log.log', 'a')])