package
Version:
v0.4.0-beta1
Opens a new window with list of versions in this module.
Published: May 12, 2014
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log provides support for logging to stdout and stderr.
Log entries will be log in the following format:
timestamp hostname tag[pid]: SEVERITY Message
Debug logs a message with severity DEBUG.
Error logs a message with severity ERROR.
Fatal logs a message with severity ERROR followed by a call to os.Exit().
Info logs a message with severity INFO.
Notice logs a message with severity NOTICE.
func SetDebug(enable bool)
SetDebug sets debug mode.
func SetQuiet(enable bool)
SetQuiet sets quite mode.
func SetVerbose(enable bool)
SetVerbose sets verbose mode.
Warning logs a message with severity WARNING.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.