0
0
mirror of https://github.com/thegeeklab/github-releases-notifier.git synced 2024-11-15 04:20:39 +00:00
github-releases-notifier/vendor/github.com/go-kit/kit/log/nop_logger.go

9 lines
206 B
Go
Raw Normal View History

2017-08-08 10:40:09 +00:00
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 }