-
Notifications
You must be signed in to change notification settings - Fork 440
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
Supporting Logging API .Log() Overloads and GetName() method #422
Conversation
Codecov Report
@@ Coverage Diff @@
## master #422 +/- ##
==========================================
- Coverage 94.38% 94.35% -0.03%
==========================================
Files 185 185
Lines 8014 8047 +33
==========================================
+ Hits 7564 7593 +29
- Misses 450 454 +4
|
724b840
to
e0dd7a7
Compare
The Recordable implementation for logs should simplify the overloads here. This PR will be coming in the next few days. Would be good to update/review again this PR after the Recordable is merged. |
2253df3
to
ca24b29
Compare
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.
Fixes with Recordable look great!
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
@MarkSeufert Can you please rebase this branch with base, so that it is good to merge. |
feefa77
to
4310cfc
Compare
This PR adds
.Log()
overloads to the Logging API, as well as aGetName()
method. More specifically for the overloads, the following was added:Log(Severity, message)
,Log(Severity, name, message)
,Log(Severity, KeyValue object)
,Log(Severity, name, KeyValue object)
,Log(Severity, initializer list)
andLog(Severity, name, initializer list)
..Trace()
,.Info()
,.Debug()
,.Warn()
,.Error()
, and.Fatal()
.These methods make it easier for users to write simple logs using the API, since they won't have to populate the 9 argument logging statement.
cc - @alolita @xukaren