TotalFreedomBot/logscript.py
2020-11-21 13:38:11 +01:00

3 lines
129 B
Python

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