Documentation ¶
Overview ¶
Package logging provides primitives for configuring and creating logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(a ...interface{})
Debug prints a message to the log if debug mode is enabled, it accepts arguments similar to log.Println.
func SetLoggerFile ¶
SetLoggerFile changes the logging destination to a file. If a logger is already active, or the file cannot be opened, then the stderr logger will be used and an error will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.