mirror of
https://github.com/Nanaloveyuki/py-logiliteal.git
synced 2025-09-04 02:26:23 +00:00
🐛 修复了日志文件夹位置不正确的问题
This commit is contained in:
15
tests/t-repeat.py
Normal file
15
tests/t-repeat.py
Normal file
@ -0,0 +1,15 @@
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
project_root = Path(__file__).parent.parent
|
||||
sys.path.append(str(project_root))
|
||||
|
||||
from src.logiliteal import Logger
|
||||
|
||||
log = Logger()
|
||||
|
||||
i = 0
|
||||
|
||||
while i < 20000:
|
||||
log.info(f"**md** | <#ff0000>测试--重--复~~日志~~: {i}")
|
||||
i += 1
|
Reference in New Issue
Block a user