Skip to content

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

@forestsource

Description

@forestsource

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions