Skip to content

Add support for LogPropertyIgnoreAttribute#113

Merged
sungam3r merged 4 commits into
masterfrom
attr
Dec 12, 2024
Merged

Add support for LogPropertyIgnoreAttribute#113
sungam3r merged 4 commits into
masterfrom
attr

Conversation

@sungam3r
Copy link
Copy Markdown
Member

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests Pull request that adds new or changes existing tests labels Mar 24, 2024

// Do not check attribute explicitly to not take dependency from Microsoft.Extensions.Telemetry.Abstractions package.
// https://github.com/serilog/serilog/issues/1984
return _options.RespectLogPropertyIgnoreAttribute && propertyInfo.GetCustomAttributes().Any(a => a.GetType().FullName == "Microsoft.Extensions.Logging.LogPropertyIgnoreAttribute")

Check warning

Code scanning / CodeQL

Erroneous class compare

Erroneous class compare.
@github-actions
Copy link
Copy Markdown

This pull request was marked as stale since it has not been active for a long time

@github-actions github-actions Bot added the stale label Apr 24, 2024
@github-actions github-actions Bot closed this Jun 23, 2024
@sungam3r sungam3r removed the stale label Dec 12, 2024
@sungam3r sungam3r reopened this Dec 12, 2024
@sungam3r sungam3r merged commit 126d1fa into master Dec 12, 2024
@sungam3r sungam3r deleted the attr branch December 12, 2024 13:24
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1eb7fcb) to head (2f3703e).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #113   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          237       239    +2     
  Branches        35        36    +1     
=========================================
+ Hits           237       239    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation tests Pull request that adds new or changes existing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Microsoft.Extensions.Telemetry.Abstractions

2 participants