[0149] 移除过大的调试日志输出#3419
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联任务
[0149] 启用 LIII_DEBUG 调试日志 (#3416) 的前置清理
改动内容
devel/0149.md任务文档src/Typeset/Bridge/typesetter.cpp中输出内容过大的LIII_DEBUG调试日志:typesetter_rep::insert_paragraph中对整棵树t的cout输出typesetter_rep::insert_paragraph中对temp_l数组的循环逐项输出notify_assign中对p和u的cout输出Why
在 #3416 中启用了
LIII_DEBUG,但部分日志输出完整树结构或页面项数组,内容量极大,导致 debug 模式下终端被刷屏、日志文件膨胀,并影响排版性能。如何测试
在 debug 编译模式下启动 Mogan,确认 LIII_DEBUG 日志不再输出过大内容。