Documentation ¶
Overview ¶
Package log provides support for logging to stdout and stderr.
Log entries will be logged in the following format:
timestamp hostname tag[pid]: SEVERITY Message
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(msg string)
Fatal logs a message with severity ERROR followed by a call to os.Exit().
func SetDebug ¶ added in v0.2.0
func SetDebug()
SetDebug sets debug mode.
TODO (bacongobbler): remove entirely once v0.9.0 lands
func SetQuiet ¶ added in v0.1.2
func SetQuiet()
SetQuiet sets quiet mode.
TODO (bacongobbler): remove entirely once v0.9.0 lands
func SetVerbose ¶ added in v0.2.0
func SetVerbose()
SetVerbose sets verbose mode.
TODO (bacongobbler): remove entirely once v0.9.0 lands
Types ¶
type ConfdFormatter ¶ added in v0.9.0
type ConfdFormatter struct { }
Click to show internal directories.
Click to hide internal directories.