Skip to content
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

Allow filtering/hiding SQL params when using a custom logger implementation #6678

Closed
wants to merge 2 commits into from

Conversation

shedyfreak
Copy link

@shedyfreak shedyfreak commented Nov 7, 2023

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

adding a function to interface definition

User Case Description

I have my own implementation of the logger interface, but in my logging I want to hide params when logging in PROD

More

I didn't find a way to set the ParameterizedQueries in config when using my own Logger implementation.

@shedyfreak
Copy link
Author

I just saw that params filter is an interface in it self, thank you for the good design I can handle it without this PR

@shedyfreak shedyfreak closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant