Update example_of_time_logging.py

This commit is contained in:
guanjihuan 2025-03-24 18:02:45 +08:00
parent b85ae814c3
commit 1a5d874ac0

View File

@ -1,7 +1,7 @@
# 运行统计
# 运行时间日志
import guan
import time
guan.statistics_with_day_and_time(content='start')
guan.logging_with_day_and_time(content='start')
for i in range(3):
time.sleep(5)
guan.statistics_with_day_and_time(f'end_of_{i}')
guan.logging_with_day_and_time(f'end_of_{i}')