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

12 lines
243 B
Go

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{}) {}