add log level
This commit is contained in:
@@ -11,7 +11,7 @@ import logging
|
||||
|
||||
def main():
|
||||
args = parseCommandLine()
|
||||
logging.basicConfig(filename='log.txt', level=logging.INFO)
|
||||
logging.basicConfig(filename='log.txt', level=config.LOG_LEVEL)
|
||||
game = createGame(args)
|
||||
asyncio.run(game.run())
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import logging
|
||||
import os
|
||||
from events.SpecialEvent import SpecialEvent
|
||||
from enum import Enum
|
||||
@@ -26,6 +27,7 @@ RED_SPECIAL_TIMES = 1
|
||||
ORANGE_SPECIAL = SpecialEvent.points
|
||||
ORANGE_SPECIAL_BANK = ORANGE_SPECIAL_BANK_OPTIONS["BOTH"]
|
||||
## Tech config
|
||||
LOG_LEVEL=logging.DEBUG
|
||||
WAIT_TIME_TO_RESET_SECONDS = 0.15
|
||||
MAX_NETWORK_RETRIES = 10
|
||||
NETWORK_SLEEP_TIME_SECONDS = 0.1
|
||||
|
||||
Reference in New Issue
Block a user