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 interface that can be passed to ClientOptions.Logger.
type WithLogger ¶
type WithLogger interface {
With(keyvals ...interface{}) Logger
}
WithLogger is an interface that prepend every log entry with keyvals.
Click to show internal directories.
Click to hide internal directories.