Closed
Description
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:
- AllowedFields: Set<...> Only log items contained on the List/Set
- PreventLogFields: Set<...>: Only log items not matching the List/Set
....
Describe alternatives you've considered
There are no alternatives when using LogEvent
Additional context