mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 23:54:58 +00:00
Create logscript.py
This commit is contained in:
parent
738e0c579b
commit
7776730602
1 changed files with 3 additions and 0 deletions
3
logscript.py
Normal file
3
logscript.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import logging
|
||||||
|
|
||||||
|
logging.basicConfig(level=logging.CRITICAL, format='%(message)s',handlers=[logging.FileHandler('log.log', 'a')])
|
Loading…
Reference in a new issue