Documentation ¶
Overview ¶
Package log provides utilities for getting sensible loggers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = (*nilog.Logger)(nil)
Debug is a *nilog.Logger for debugging purposes, and is nil unless the debug tag is enabled.
View Source
var Info = nilog.New( colorable.NewColorableStdout(), aurora.Green("[info ] ").String(), flags, )
Info is a *nilog.Logger for healthy, informational logs.
View Source
var Warn = nilog.New( colorable.NewColorableStderr(), aurora.Red("[warn ] ").String(), flags, )
Warn is a *nilog.Logger for unhealthy, warning logs.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.