import nnlog
log = nnlog.Logger('test.log',level='debug',backCount=5,when='s')
log.debug('debug级别')
# debug
# info
# warning
# error
写日志模块
猜你喜欢
转载自www.cnblogs.com/lapt/p/11789460.html
今日推荐
周排行