1
0

better logs format

This commit is contained in:
andrea
2025-07-26 19:24:45 +02:00
parent f55afe5959
commit 72ec279036

View File

@@ -1,7 +1,7 @@
import logging as _logging
logger = _logging.getLogger(__name__)
_logging.basicConfig(filename= 'battle_royale.log', encoding= 'utf-8', level= _logging.INFO)
_logging.basicConfig(filename= 'battle_royale.log', encoding= 'utf-8', format='%(asctime)s - %(levelname)s - %(message)s', level= _logging.INFO)
def log_debug(txt):
logger.debug(txt)