logging info
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import logging as _logging
|
import logging as _logging
|
||||||
|
|
||||||
logger = _logging.getLogger(__name__)
|
logger = _logging.getLogger(__name__)
|
||||||
_logging.basicConfig(filename= 'battle_royale.log', encoding= 'utf-8', level= _logging.DEBUG)
|
_logging.basicConfig(filename= 'battle_royale.log', encoding= 'utf-8', level= _logging.INFO)
|
||||||
|
|
||||||
def log_debug(txt):
|
def log_debug(txt):
|
||||||
logger.debug(txt)
|
logger.debug(txt)
|
||||||
|
|||||||
Reference in New Issue
Block a user