未验证 提交 2eb8c352 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

Add logger name.

上级 01ce1c26
......@@ -16,7 +16,7 @@
import logging
logger = logging.getLogger()
logger = logging.getLogger('vdl_logger')
handler = logging.StreamHandler()
handler.setFormatter(logging.Formatter('[%(levelname)s %(asctime)s %(filename)s:%(lineno)s] %(message)s'))
logger.addHandler(handler)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册