Commit 9afc63ed by zyy

roll

parent 31274960
......@@ -12,6 +12,7 @@ import time
def log(name="方大同"):
"""roll"""
logger = logging.getLogger(name)
logger.level = logging.INFO
log_name = time.strftime('%Y-%m-%d-%H-%M-%S',time.localtime())+".log"
......@@ -24,4 +25,4 @@ def log(name="方大同"):
return logger
log = log()
\ No newline at end of file
log = log()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment