Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(msg string, keyvals ...interface{}) Info(msg string, keyvals ...interface{}) Warn(msg string, keyvals ...interface{}) Error(msg string, keyvals ...interface{}) }
Logger is an general RR log interface
type WithLogger ¶
type WithLogger interface {
With(keyvals ...interface{}) Logger
}
With creates a child logger and adds structured context to it
Click to show internal directories.
Click to hide internal directories.