mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 21:14:53 +00:00
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.
12 lines
133 B
Go
12 lines
133 B
Go
package log
|
|
|
|
import (
|
|
"github.com/rs/zerolog"
|
|
)
|
|
|
|
func NewNopLogger() Logger {
|
|
return &defaultLogger{
|
|
Logger: zerolog.Nop(),
|
|
}
|
|
}
|