Discover Packages
github.com/blippar/confd
log
package
Version:
v0.15.0
Opens a new window with list of versions in this module.
Published: Jan 27, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
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
func Debug(format string , v ...interface{})
Debug logs a message with severity DEBUG.
func Error(format string , v ...interface{})
Error logs a message with severity ERROR.
func Fatal(format string , v ...interface{})
Fatal logs a message with severity ERROR followed by a call to os.Exit().
func Info(format string , v ...interface{})
Info logs a message with severity INFO.
SetLevel sets the log level. Valid levels are panic, fatal, error, warn, info and debug.
func Warning(format string , v ...interface{})
Warning logs a message with severity WARNING.
type ConfdFormatter struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.