logger提出

This commit is contained in:
2022-07-04 11:07:25 +08:00
parent 9bf7cffed2
commit 8b87e28bef
2 changed files with 8 additions and 8 deletions

View File

@ -0,0 +1,7 @@
import logging
LOGGER = logging.getLogger("WORKFLOW")
_ch = logging.StreamHandler()
_ch.setLevel(logging.DEBUG)
LOGGER.setLevel(logging.DEBUG)
LOGGER.addHandler(_ch)