package
Version:
v0.6.0-alpha1
Opens a new window with list of versions in this module.
Published: Jul 9, 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 logged 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 quiet 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.