feat: Add misandrist insults and big CS2 events matches fetch from HLTV.org
This commit is contained in:
8
setup/logger.py
Normal file
8
setup/logger.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import logging
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(asctime)s: %(name)s: %(message)s')
|
||||
LOGGER = logging.getLogger('botmafieux')
|
||||
LOGGER.setLevel(logging.DEBUG)
|
||||
handler = logging.FileHandler(filename='botmafieux.log', encoding='utf-8', mode='a')
|
||||
handler.setFormatter(logging.Formatter('%(asctime)s:%(levelname)s:%(name)s: %(message)s'))
|
||||
LOGGER.addHandler(handler)
|
||||
Reference in New Issue
Block a user