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
Export gin.defaultLogFormatter #3629
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can we export the
defaultLogFormatter
below (DefaultLogFormatter
)?gin/logger.go
Line 132 in bb1fc2e
In doing so it would be very easy to configure any of the
gin.LogFormatterParams
, eg:Currently, to achieve the same result from the above code, I had to copy the entire
defaultLogFormatter
implementation just to remove the query params from log:The text was updated successfully, but these errors were encountered: