Skip to content

RFC: Allow filtering logEvent output #66

Closed
@dgomesbr

Description

@dgomesbr

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions