Commit 487c180
authored
* 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]>
1 parent b8eddd7 commit 487c180
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
0 commit comments