Closed goodevilgenius closed 9 months ago
Resolves #71
The following can now be done:
r := gin.New() r.Use(logger.SetLogger( logger.WithPathLevel(map[string]zerolog.Level{"/health": zerolog.DebugLevel}), )
Any successful requests to /health would result in a debug level log, instead of the default info level.
/health
Resolves #71
The following can now be done:
Any successful requests to
/health
would result in a debug level log, instead of the default info level.