-
Notifications
You must be signed in to change notification settings - Fork 90
RFC: Allow filtering logEvent output #66
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
Comments
Hey @dgomesbr It definitely sounds like an interesting idea. Could you please shed some more inputs on your thoughts here ? Like What and how you think of it behaving on nested payload etc ? |
@pankajagrawal16 as an user concerned with data being logged, but also conscious about logging, I would like to either pass a Does that adds up? |
I was thinking about this. I think nested payloads makes this harder. Could the user pass an implementation class name, we'd instantiate it and use it to do the filtering. |
LGTM |
Available in 1.3.0 now |
Is your feature request related to a problem? Please describe.
It's not, it's an enhancement
Describe the solution you'd like
Considering that
logEvent
param exists over@PowertoolsLogging
, we should provide an option include only/exclude fields from the event log record itself, as such:....
Describe alternatives you've considered
There are no alternatives when using LogEvent
Additional context
The text was updated successfully, but these errors were encountered: