Documentation ¶
Index ¶
- func AddWriter(input ...func(message string))
- func Critical(message interface{}, params ...interface{})
- func CriticalF(message interface{}, params ...interface{})
- func Criticalf(message interface{}, params ...interface{})
- func Debug(message interface{}, params ...interface{})
- func DebugF(message interface{}, params ...interface{})
- func Debugf(message interface{}, params ...interface{})
- func Error(message interface{}, params ...interface{})
- func ErrorF(message interface{}, params ...interface{})
- func Errorf(message interface{}, params ...interface{})
- func Fatal(message interface{}, params ...interface{})
- func FatalF(message interface{}, params ...interface{})
- func Fatalf(message interface{}, params ...interface{})
- func Info(message interface{}, params ...interface{})
- func InfoF(message interface{}, params ...interface{})
- func Infof(message interface{}, params ...interface{})
- func Notice(message interface{}, params ...interface{})
- func NoticeF(message interface{}, params ...interface{})
- func Noticef(message interface{}, params ...interface{})
- func Panic(message interface{}, params ...interface{})
- func PanicF(message interface{}, params ...interface{})
- func Panicf(message interface{}, params ...interface{})
- func SetLevel(lvl Level)
- func SetStackTrace(lvl int)
- func SetWriters(input ...func(message string))
- func Warning(message interface{}, params ...interface{})
- func WarningF(message interface{}, params ...interface{})
- func Warningf(message interface{}, params ...interface{})
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Critical ¶
func Critical(message interface{}, params ...interface{})
Critical logs a message at a Critical Level
func CriticalF ¶
func CriticalF(message interface{}, params ...interface{})
CriticalF logs a message at Critical level using the same syntax and options as fmt.Printf
func Criticalf ¶
func Criticalf(message interface{}, params ...interface{})
CriticalF logs a message at Critical level using the same syntax and options as fmt.Printf
func Debug ¶
func Debug(message interface{}, params ...interface{})
Debug logs a message at Debug level
func DebugF ¶
func DebugF(message interface{}, params ...interface{})
DebugF logs a message at Debug level using the same syntax and options as fmt.Printf
func Debugf ¶
func Debugf(message interface{}, params ...interface{})
DebugF logs a message at Debug level using the same syntax and options as fmt.Printf
func Error ¶
func Error(message interface{}, params ...interface{})
Error logs a message at Error level
func ErrorF ¶
func ErrorF(message interface{}, params ...interface{})
ErrorF logs a message at Error level using the same syntax and options as fmt.Printf
func Errorf ¶
func Errorf(message interface{}, params ...interface{})
ErrorF logs a message at Error level using the same syntax and options as fmt.Printf
func Fatal ¶
func Fatal(message interface{}, params ...interface{})
Fatal is just like func l.Critical logger except that it is followed by exit to program
func FatalF ¶
func FatalF(message interface{}, params ...interface{})
FatalF is just like func l.CriticalF logger except that it is followed by exit to program
func Fatalf ¶
func Fatalf(message interface{}, params ...interface{})
FatalF is just like func l.CriticalF logger except that it is followed by exit to program
func InfoF ¶
func InfoF(message interface{}, params ...interface{})
InfoF logs a message at Info level using the same syntax and options as fmt.Printf
func Infof ¶
func Infof(message interface{}, params ...interface{})
InfoF logs a message at Info level using the same syntax and options as fmt.Printf
func Notice ¶
func Notice(message interface{}, params ...interface{})
Notice logs a message at Notice level
func NoticeF ¶
func NoticeF(message interface{}, params ...interface{})
NoticeF logs a message at Notice level using the same syntax and options as fmt.Printf
func Noticef ¶
func Noticef(message interface{}, params ...interface{})
NoticeF logs a message at Notice level using the same syntax and options as fmt.Printf
func Panic ¶
func Panic(message interface{}, params ...interface{})
Panic is just like func l.Critical except that it is followed by a call to panic
func PanicF ¶
func PanicF(message interface{}, params ...interface{})
PanicF is just like func l.CriticalF except that it is followed by a call to panic
func Panicf ¶
func Panicf(message interface{}, params ...interface{})
PanicF is just like func l.CriticalF except that it is followed by a call to panic
func SetStackTrace ¶
func SetStackTrace(lvl int)
func SetWriters ¶
func SetWriters(input ...func(message string))
func Warning ¶
func Warning(message interface{}, params ...interface{})
Warning logs a message at Warning level