-
Notifications
You must be signed in to change notification settings - Fork 180
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
Add logger to FollowerState #4156
Conversation
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.
The only thing I would suggest is to change logger to be the first argument, in many places we try to pass it as first argument, using automatic refactoring it could be done very easily.
cf86037
to
440c9a6
Compare
9a911c8
to
2a8e425
Compare
@durkmurder I feel like the tracer and the logger belong together contextually. I think it would make sense moving the tracer as well then:
what do you think? |
Yup, you could also move consumer as well, also attaching example where logger, consumers, metrics, trading are grouped together and later other dependencies |
440c9a6
to
52c46c8
Compare
2a8e425
to
31510b6
Compare
31510b6
to
d8ed58c
Compare
Codecov Report
@@ Coverage Diff @@
## master #4156 +/- ##
==========================================
+ Coverage 51.09% 53.48% +2.38%
==========================================
Files 674 837 +163
Lines 60522 78472 +17950
==========================================
+ Hits 30924 41967 +11043
- Misses 27118 33152 +6034
- Partials 2480 3353 +873
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 166 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Nice
bors merge |
Extracting pieces from #3736 so its easier to digest and merge.
This one adds a currently unused log to follower state, to be used in the next PR.