Documentation ¶
Overview ¶
package logger is a package that provides a structured logger that's context.Context aware.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface {
Log(pairs ...interface{})
}
Logger represents a structured logger.
func FromContext ¶
FromContext returns a log.Logger from the context.
Click to show internal directories.
Click to hide internal directories.