Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yinjiaqi authored and yinjiaqi committed Dec 23, 2024
1 parent 90f072b commit 13e4a3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/BasisModule/Trace/Debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,7 @@ appbuilder.logger.setLoglevel("DEBUG")
update_time = 'midnight' - 更新日志文件的间隔单位为秒级,每日凌晨滚动日志
"""
appbuilder.logger.setLogConfig(filename="appbuilder.log",update_interval=1, update_time='midnight')
```
```

## 新增功能
日志功能会自动开启日志的分离功能,独立创建一个`error.(filename).log'文件,用于存储`WARNING``ERROR`级别日志,同时会兼容日志的滚动功能。

0 comments on commit 13e4a3f

Please sign in to comment.