1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00

Opt: optmize 11-4 and 12-4

Docs: added wiki link on readme
This commit is contained in:
whoamikyo
2020-08-06 12:49:45 -03:00
parent 1e4a19c33f
commit 8df41b3e01
4 changed files with 49 additions and 51 deletions

View File

@@ -4,11 +4,12 @@ import os
import sys
from collections import deque
logging.raiseExceptions = False # Set True if wanna see encode errors on console
logging.raiseExceptions = True # Set True if wanna see encode errors on console
# Logger init
logger_debug = False
logger = logging.getLogger()
logger.setLevel(logging.INFO)
logger.setLevel(logging.DEBUG if logger_debug else logging.INFO)
formatter = logging.Formatter(fmt='%(asctime)s.%(msecs)03d | %(levelname)s | %(message)s', datefmt='%Y-%m-%d %H:%M:%S')
# Add console logger