Documentation WIP 2 (added demo param)

This commit is contained in:
2025-05-18 23:36:44 +03:00
parent 87d56de922
commit 444727c22e
5 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,8 @@
import logging
import sys
import options
generalLogPath = "./generalLog.log"
tradingLogPath = "./tradingLog.log"
@ -29,6 +31,7 @@ generalLogger = setupLogger('general', logging.INFO, generalLogPath, generalForm
tradingFormatter = logging.Formatter('%(asctime)s - %(message)s')
tradingLogger = setupLogger('trade', logging.NOTSET, tradingLogPath, tradingFormatter)
# Общий лог ну совсем
logging.basicConfig(level=logging.DEBUG)
superGeneralLogger = logging.getLogger('superGeneral')
# Максимально подробный общий лог
if options.showExtraDebugLogs:
logging.basicConfig(level=logging.DEBUG)
superGeneralLogger = logging.getLogger('superGeneral')