-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimize: add a option to controls whether debugPrintRoute executes #269
Conversation
Codecov ReportBase: 59.27% // Head: 59.99% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #269 +/- ##
===========================================
+ Coverage 59.27% 59.99% +0.71%
===========================================
Files 79 79
Lines 8150 8156 +6
===========================================
+ Hits 4831 4893 +62
+ Misses 2966 2910 -56
Partials 353 353
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
cc @Skyenought |
What type of PR is this?
optimize
Check the PR title.
(Optional) Translate the PR title into Chinese.
添加一个选项来控制是否执行
debugPrintRoute
(Optional) More detail description for this PR(en: English/zh: Chinese).
en: Added an option to control whether to print the route's log when it starts running, the default is to print. If panic occurs when there are many routes, because there is a lot of routing startup information, panic cannot be seen intuitively. Adding this option can avoid such a situation.
zh(optional): 新增了一个可选项来控制是否在开始运行时打印路由的日志,默认为打印。在路由较多时若发生panic,由于有大量的路由启动信息,因此不能直观的看到panic,增加此可选项后可避免此类情况出现。
Which issue(s) this PR fixes:
Fixes #268