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
refactor(promslog): make NewNopLogger() wrapper around New() (#783)
* refactor(promslog): make `NewNopLogger()` wrapper around `New()`
While discussing the fix for prometheus/prometheus#16466, it was pointed
out that our `promslog.NewNopLogger()` convenience function would
benefit from using the same logic used when initializing loggers with
`promslog.New()`. By refactoring NewNopLogger to wrap New, it inherits
that same setup logic.
Signed-off-by: TJ Hoplock <[email protected]>
* fix(promslog): don't set NewNopLogger to debug level
Signed-off-by: TJ Hoplock <[email protected]>
---------
Signed-off-by: TJ Hoplock <[email protected]>
0 commit comments