Documentation
¶
Overview ¶
Package log provides facilities for logging.
Index ¶
Constants ¶
View Source
const DefaultLevel = logrus.DebugLevel
DefaultLevel is the default logging level to use, when no other is specified.
Variables ¶
This section is empty.
Functions ¶
func CreateLogger ¶
CreateLogger will create a logrus logger with the desired log level.
func SetLogLevel ¶
func SetLogLevel(level string)
SetLogLevel parses the string and sets the log level to that which is requested. if it fails to parse it will fall back to the default level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.