status-go/vendor/github.com/afex/hystrix-go/hystrix/logger.go

12 lines
243 B
Go
Raw Normal View History

2023-02-20 09:32:45 +00: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{}) {}