Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Printf(format string, v ...interface{})
Warnf(format string, v ...interface{})
Errorf(format string, v ...interface{})
}
func FromContext ¶
FromContext retrieves the current logger from the context. If no logger is available, a new default logger gets returned.
func NewDefaultLogger ¶
Click to show internal directories.
Click to hide internal directories.