kilo/vendor/github.com/go-kit/kit/log/nop_logger.go
Lucas Serven e989f0a25f
init
2019-01-18 02:50:10 +01:00

9 lines
206 B
Go

package log
type nopLogger struct{}
// NewNopLogger returns a logger that doesn't do anything.
func NewNopLogger() Logger { return nopLogger{} }
func (nopLogger) Log(...interface{}) error { return nil }