Documentation ¶
Overview ¶
Package log provides simple convenience wrappers for logging.
Following convention, this provides functions for logging warnings, errors, information and debugging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IsDebugging = false
IsDebugging controls debugging output.
If this is true, debugging messages will be printed. Expensive debugging operations can be wrapped in `if log.IsDebugging {}`.
Functions ¶
func Debug ¶
func Debug(msg string, v ...interface{})
Debug prints an error severity DEBUG to the log.
Debug will only print if IsDebugging is true.
Types ¶
Click to show internal directories.
Click to hide internal directories.