12 lines
243 B
Go
Raw Normal View History

2023-02-20 10:32:45 +01:00
package hystrix
type logger interface {
Printf(format string, items ...interface{})
}
// NoopLogger does not log anything.
type NoopLogger struct{}
// Printf does nothing.
func (l NoopLogger) Printf(format string, items ...interface{}) {}