Skip to content

lib/log: add logtest.NoOp

Administrator requested to merge logtest-noop into main

Created by: bobheadxi

logtest.NoOp is an implementation of log.Logger that does not do anything. Useful for silencing a specific test, because we only have package-wide level configuration right now via logtest.InitWithLevel()

There are some usage patterns of a log15 discardLogger, which this hopes to provide an equivalent for

Test plan

n/a

Merge request reports

Loading