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

Added DumpLogger interface to soap Config for custom logging #71

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

r6q
Copy link
Contributor

@r6q r6q commented Nov 19, 2020

Added interface so users can decide on logging:

  • how: mask sensitive api key, password or truncate request if it's too long
  • when: don't long for foo bar method using if method == "foo bar"
  • which output: std logger or globally configured zap, zerolog, etc.

Added fmtLogger with the same writing signature for backwards compatibility

@tiaguinho tiaguinho merged commit f4a9999 into tiaguinho:master Nov 23, 2020
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.

2 participants