-
Notifications
You must be signed in to change notification settings - Fork 290
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
log: add tx status log #2271
log: add tx status log #2271
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2271 +/- ##
==========================================
+ Coverage 33.97% 34.01% +0.04%
==========================================
Files 483 483
Lines 40663 40688 +25
Branches 17988 17990 +2
==========================================
+ Hits 13810 13834 +24
+ Misses 13381 13343 -38
- Partials 13472 13511 +39
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Benchmark for 606945fClick to view benchmark
|
pub struct StatusLogger; | ||
impl StatusLogger { | ||
fn log_status(tx: &Arc<Transaction>, status: TxStatus) { | ||
debug!( |
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.
应该 info?debug 默认不开。
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.
就是默认不开。这个日志太多了。
我们测试用,就打开 RUST_LOG=tx-status=debug。
No description provided.