Files
tendermint/libs/log/nop.go
Sam Kleinman d65237ff87 logging: allow logging level override (#7873)
I think in the future we should migrate from having our own logging
interface and use our logger directly, which I think would help
obviate this particular problem, but in the mean time, this seems safe.
2022-02-20 16:18:05 +00:00

12 lines
133 B
Go

package log
import (
"github.com/rs/zerolog"
)
func NewNopLogger() Logger {
return &defaultLogger{
Logger: zerolog.Nop(),
}
}