You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: