refactor: 统一控制台输出风格,使用统一的日志函数#558
Open
JishiTeam-J1wa wants to merge 1 commit intoshadow1ng:dev-2.1.2from
Open
Conversation
- 将 Plugins/MS17010-Exp.go 中的 fmt.Println 替换为 Common.LogError - 将 WebScan/lib/Client.go 中的 POC 加载错误输出替换为 Common.LogError - 将 WebScan/lib/Eval.go 中的调试输出替换为 Common.LogDebug 所有控制台输出现在通过统一的日志系统,确保格式一致性和可维护性。 Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
|
改下PR分支向dev-2.1.2 |
Author
已修改分支指向dev-2.1.2了 |
Collaborator
感谢,如果你有时间,可以看看相关冲突能否解决,或者晚些我看看 |
Owner
|
这两个有点点区别。 logerror不会打印所有日志。但fmt.println会打印所有内容,更适合在初始化阶段使用。 |
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.
所有控制台输出现在通过统一的日志系统,确保格式一致性和可维护性。