-
Notifications
You must be signed in to change notification settings - Fork 157
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
refactor: Remove LoggerWrapper in favor of Logger refs #1812
refactor: Remove LoggerWrapper in favor of Logger refs #1812
Conversation
Found a residual un-namespaced target we linked against. Only exists if we build nlohmann_json ourselves.
Codecov Report
@@ Coverage Diff @@
## main #1812 +/- ##
==========================================
+ Coverage 49.54% 49.56% +0.01%
==========================================
Files 407 407
Lines 22626 22618 -8
Branches 10322 10316 -6
==========================================
Hits 11211 11211
+ Misses 4230 4227 -3
+ Partials 7185 7180 -5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
📊 Physics performance monitoring for 4f058c5Full report VertexingSeedingCKFAmbiguity resolutionTruth tracking (Kalman Filter)Truth tracking (GSF) |
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.
looks good! thanks for this 👍
To harmonize / simplify the ways that loggers are used, this PR removes
LoggerWrapper
. To support the case of e.g. functions optionally accepting a logger, we can useconst Logger&
and default it togetDummyLogger
. SincegetDummyLogger
returns a reference to a logger instance of static lifetime, all the arguments should be safe, even if they are retained (I think).