aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-kit/kit/log/nop_logger.go
blob: 1047d626c43608892f6643d9b32ede2ca64086f3 (plain)
1
2
3
4
5
6
7
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 }
nihil fit ex nihilo