Skip to content
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

Feature: Caller Member on Static Default Logger #569

Merged
merged 34 commits into from
Jan 22, 2021
Merged

Conversation

dpvreony
Copy link
Member

@dpvreony dpvreony commented Aug 23, 2020

What kind of change does this PR introduce?

Closes #341 adds a static logging interface and default implementation for capturing callermemberdata.

What is the current behavior?
static logger doesn't have context information

What is the new behavior?

What might this PR break?
the interface has new, currently hasn't got any of the param array methods, so if anyone using them on the default logger, it will break their build.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

WIP - need to update api approval and tests

@dpvreony dpvreony changed the title WIP: Callermemberlogging WIP: Caller Member on Static Default Logger Aug 23, 2020
@glennawatson
Copy link
Contributor

Looks like the API tests are failing at the moment btw.

@dpvreony
Copy link
Member Author

busy couple of months. need to sort some test coverage as well

@reactiveui reactiveui deleted a comment from codecov bot Dec 27, 2020
@codecov
Copy link

codecov bot commented Dec 27, 2020

Codecov Report

Merging #569 (cb5cd17) into main (fe11f9a) will increase coverage by 1.63%.
The diff coverage is 94.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #569      +/-   ##
==========================================
+ Coverage   70.14%   71.78%   +1.63%     
==========================================
  Files          98       99       +1     
  Lines        4569     4717     +148     
==========================================
+ Hits         3205     3386     +181     
+ Misses       1364     1331      -33     
Impacted Files Coverage Δ
src/Splat/Logging/LogHost.cs 33.33% <0.00%> (-4.17%) ⬇️
...Monitoring/EnableFeatureUsageTrackingExtensions.cs 61.11% <57.14%> (-13.89%) ⬇️
src/Splat/Logging/StaticFullLogger.cs 100.00% <100.00%> (ø)
src/Splat/Logging/WrappingFullLogger.cs 65.58% <0.00%> (+25.97%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b98b79...cb5cd17. Read the comment docs.

@glennawatson
Copy link
Contributor

glennawatson commented Jan 18, 2021

As part of this pr can you bump the version.json file. Once you've merge this pr we'll get it to do a release

@dpvreony dpvreony marked this pull request as ready for review January 20, 2021 19:26
@glennawatson glennawatson changed the title WIP: Caller Member on Static Default Logger Feature: Caller Member on Static Default Logger Jan 22, 2021
@glennawatson glennawatson merged commit 0026264 into main Jan 22, 2021
@glennawatson glennawatson deleted the callermemberlogging branch January 22, 2021 00:13
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a version that uses the CallerMember attributes in static logging
2 participants