package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Sep 22, 2017
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
¶
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 which is then 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.
Accepted levels are panic, fatal, error, warn, info and debug.
func Warning(format string, v ...interface{})
Warning logs a message with severity WARNING.
type Formatter struct {
}
Formatter is the struct used in the logging package.
Format builds the log desired log format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.