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

Question: How to change log format with panic? #1827

Closed
forestsource opened this issue Mar 26, 2019 · 0 comments
Closed

Question: How to change log format with panic? #1827

forestsource opened this issue Mar 26, 2019 · 0 comments

Comments

@forestsource
Copy link

#1677

Ordinary log can change log format.
but, panic log cannot change.

https://github.com/gin-gonic/gin/blob/master/recovery.go#L41-L78
recovery.go always use fmt.

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

No branches or pull requests

1 participant