Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLogger ¶
DefaultLogger returns the default logger for the package.
func LoggerFromContext ¶
LoggerFromContext returns the logger stored in the context. If no logger exists, a default logger is returned.
func LoggerWithContext ¶
LoggerWithContext create a new context with the provided logger attached.
func NewLoggerFromEnv ¶
NewLoggerFromEnv creates a new logger by evaluating a few environment variables to determine some of the custom configurations available to be set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.