-
Notifications
You must be signed in to change notification settings - Fork 36
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 NotLoggedIfNull attribute #49
Conversation
Add: - NotLoggedIfDefaultAttribute - Unit Tests
PR description suggestion Co-Authored-By: Ivan Maximov <sungam3r@yandex.ru>
- Add Type to IPropertyDestructuringAttribute.TryCreateLogEventProperty - Change all IPropertyDestructuringAttribute implementations to include type - Change NotLoggedIfDefaultAttribute (Include cache) - Write Unit Tests
Ignore null properties can be globally applied without applying attributes: `Destructurama.Attributed.AttributedDestructuringPolicy.IgnoreNullProperties = true;`
src/Destructurama.Attributed/Attributed/IPropertyDestructuringAttribute.cs
Outdated
Show resolved
Hide resolved
Related to #18 |
@sungam3r Any update on this, please? |
I'm neither an owner of this repo nor have write access to be able to merge PRs. |
@SimonCropp Is it possible to have an update on this, please? |
@heman-dookhee-cko Thanks for PR. Now I'm a member of destructurama org so please resolve conflicts and I'll review/merge. |
# Conflicts: # README.md # src/Destructurama.Attributed/Attributed/AttributedDestructuringPolicy.cs # src/Destructurama.Attributed/Attributed/LogMaskedAttribute.cs # src/Destructurama.Attributed/LoggerConfigurationAttributedExtensions.cs # test/Destructurama.Attributed.Tests/MaskedAttributeTests.cs
@sungam3r conflicts resolved, please review/merge |
src/Destructurama.Attributed/Attributed/AttributedDestructuringPolicyOptions.cs
Outdated
Show resolved
Hide resolved
…gPolicyOptions.cs
OK, will review soon. I was busy updating other 2 repos in destructurama org. |
src/Destructurama.Attributed/Attributed/AttributedDestructuringPolicyOptions.cs
Outdated
Show resolved
Hide resolved
…gPolicyOptions.cs
@avtc Thanks. Will be published coming days. |
@sungam3r can this be causing a memory leak? |
Please open issue if so. |
Add
NotLoggedIfNullAttribute
and testsIt has effect only on reference types and nullables.
Ignore null properties can be globally applied without applying attributes:
Based on PR: #38