Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FormatterFunc ¶ added in v1.8.5
FormatterFunc is a type alias for a function that satisfies logrus' `Formatter` interface
type Logger ¶
type Logger interface { Log(request interface{}, response interface{}, err error, duration time.Duration) LogAtLevelFromDepth(request interface{}, response interface{}, err error, duration time.Duration, level logrus.Level, depth int) }
Logger is a helper for emitting our grpc API logs
func NewLocalLogger ¶ added in v1.7.4
NewLocalLogger creates a new logger for local testing (which does not report prometheus metrics)
Click to show internal directories.
Click to hide internal directories.