TotalFreedomBot/logscript.py

5 lines
151 B
Python
Raw Normal View History

2020-11-21 12:38:11 +00:00
import logging
logging.basicConfig(level=logging.CRITICAL, format='%(message)s', handlers=[
logging.FileHandler('log.log', 'a')])