Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLogger ¶
DefaultLogger gives you a logger with the default settings replied.
func FromContext ¶
FromContext returns the logger stored within the context. If no logger is stored, the default logger is returned.
func NewLoggerFromEnv ¶
NewLoggerFromEnv creates a new logger from the environment. It consumes LOG_LEVEL for determining the level and LOG_MODE for determining the output parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.