diff options
Diffstat (limited to 'vendor/github.com/go-kit/kit/log/nop_logger.go')
-rw-r--r-- | vendor/github.com/go-kit/kit/log/nop_logger.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/go-kit/kit/log/nop_logger.go b/vendor/github.com/go-kit/kit/log/nop_logger.go new file mode 100644 index 0000000..1047d62 --- /dev/null +++ b/vendor/github.com/go-kit/kit/log/nop_logger.go @@ -0,0 +1,8 @@ +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 } |