Documentation
¶
Index ¶
- Constants
- Variables
- func Debug(format string, args ...interface{})
- func Error(format string, args ...interface{})
- func Fatal(format string, args ...interface{})
- func Info(format string, args ...interface{})
- func Output(level string, format string, args ...interface{})
- func SetLogLevel(lvl Level)
- func SetOutput(w io.Writer)
- func Trace(format string, args ...interface{})
- func Warn(format string, args ...interface{})
- type Interface
- type Level
- type Standard
- func (_ Standard) Debug(format string, args ...interface{})
- func (_ Standard) Error(format string, args ...interface{})
- func (_ Standard) Fatal(format string, args ...interface{})
- func (_ Standard) Info(format string, args ...interface{})
- func (_ Standard) SetOutput(w io.Writer)
- func (_ Standard) Trace(format string, args ...interface{})
- func (_ Standard) Warn(format string, args ...interface{})
Constants ¶
View Source
const ( TRACE = Level(iota - 2) DEBUG INFO WARN ERROR FATAL )
Allows the ordering of severity to be checked
Variables ¶
Functions ¶
func Fatal ¶
func Fatal(format string, args ...interface{})
Output format should be: "timestamp•LOG_LEVEL•filename.go•linenumber•output"
func SetLogLevel ¶
func SetLogLevel(lvl Level)
Types ¶
Click to show internal directories.
Click to hide internal directories.