mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Chore: Upgrade Cortex Signed-off-by: Arve Knudsen <[email protected]> * Update changelog Signed-off-by: Arve Knudsen <[email protected]>
9 lines
206 B
Go
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 }
|