Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext retrieves the logger from the given Context. If no logger was found, FromContext returns the nop logger
func InjectLogger ¶
InjectLogger returns handler to inject logger into request context
func Middleware ¶
Middleware provides web middleware to inject a logger into the request context
Types ¶
Click to show internal directories.
Click to hide internal directories.