Skip to content

suppress logs from route #857

Answered by VojtechVitek
ep4sh asked this question in Q&A
Oct 12, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
r.Use(middleware.Heartbeat("/healtz")) // no logger here yet
r.Use(middleware.Logger))              // defined after Heartbeat
r.Use(middleware.Recoverer))           // defined after Logger

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ep4sh
Comment options

Answer selected by ep4sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants