lib/log: add logtest.NoOp
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