import logging
logging.basicConfig(
level=logging.DEBUG,
filename='catalina.out',
filemode='a',
format="%(asctime)s [%(line)d'] %(message)s",
)
python-logging模块
猜你喜欢
转载自www.cnblogs.com/benchdog/p/9094235.html
今日推荐
周排行