69c628b626
* Added support for DataDog and StatsD monitoring * Added documentation
8 lines
206 B
Go
8 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 }
|