Documentation ¶
Index ¶
- func Clear()
- func ClearAll()
- func Critical(format interface{}, a ...interface{})
- func CriticalF(format interface{}, a ...interface{})
- func Criticalf(format interface{}, a ...interface{})
- func Debug(format interface{}, a ...interface{})
- func DebugF(format interface{}, a ...interface{})
- func Debugf(format interface{}, a ...interface{})
- func Error(format interface{}, a ...interface{})
- func ErrorF(format interface{}, a ...interface{})
- func Errorf(format interface{}, a ...interface{})
- func Fatal(format interface{}, a ...interface{})
- func FatalF(format interface{}, a ...interface{})
- func Fatalf(format interface{}, a ...interface{})
- func Info(format interface{}, a ...interface{})
- func InfoF(format interface{}, a ...interface{})
- func Infof(format interface{}, a ...interface{})
- func Notice(format interface{}, a ...interface{})
- func NoticeF(format interface{}, a ...interface{})
- func Noticef(format interface{}, a ...interface{})
- func Panic(format interface{}, a ...interface{})
- func PanicF(format interface{}, a ...interface{})
- func Panicf(format interface{}, a ...interface{})
- func Read(lines int, level Level)
- func Register(logSettings *Logger)
- func Rotate()
- func SetSettings(logSettings *Logger)
- func Warning(format interface{}, a ...interface{})
- func WarningF(format interface{}, a ...interface{})
- func Warningf(format interface{}, a ...interface{})
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Critical ¶
func Critical(format interface{}, a ...interface{})
Critical logs a message at a Critical Level
func CriticalF ¶
func CriticalF(format interface{}, a ...interface{})
CriticalF logs a message at Critical level using the same syntax and options as fmt.Printf
func Criticalf ¶
func Criticalf(format interface{}, a ...interface{})
CriticalF logs a message at Critical level using the same syntax and options as fmt.Printf
func DebugF ¶
func DebugF(format interface{}, a ...interface{})
DebugF logs a message at Debug level using the same syntax and options as fmt.Printf
func Debugf ¶
func Debugf(format interface{}, a ...interface{})
DebugF logs a message at Debug level using the same syntax and options as fmt.Printf
func ErrorF ¶
func ErrorF(format interface{}, a ...interface{})
ErrorF logs a message at Error level using the same syntax and options as fmt.Printf
func Errorf ¶
func Errorf(format interface{}, a ...interface{})
ErrorF logs a message at Error level using the same syntax and options as fmt.Printf
func Fatal ¶
func Fatal(format interface{}, a ...interface{})
Fatal is just like func l.Critical logger except that it is followed by exit to program
func FatalF ¶
func FatalF(format interface{}, a ...interface{})
FatalF is just like func l.CriticalF logger except that it is followed by exit to program
func Fatalf ¶
func Fatalf(format interface{}, a ...interface{})
FatalF is just like func l.CriticalF logger except that it is followed by exit to program
func InfoF ¶
func InfoF(format interface{}, a ...interface{})
InfoF logs a message at Info level using the same syntax and options as fmt.Printf
func Infof ¶
func Infof(format interface{}, a ...interface{})
InfoF logs a message at Info level using the same syntax and options as fmt.Printf
func Notice ¶
func Notice(format interface{}, a ...interface{})
Notice logs a message at Notice level
func NoticeF ¶
func NoticeF(format interface{}, a ...interface{})
NoticeF logs a message at Notice level using the same syntax and options as fmt.Printf
func Noticef ¶
func Noticef(format interface{}, a ...interface{})
NoticeF logs a message at Notice level using the same syntax and options as fmt.Printf
func Panic ¶
func Panic(format interface{}, a ...interface{})
Panic is just like func l.Critical except that it is followed by a call to panic
func PanicF ¶
func PanicF(format interface{}, a ...interface{})
PanicF is just like func l.CriticalF except that it is followed by a call to panic
func Panicf ¶
func Panicf(format interface{}, a ...interface{})
PanicF is just like func l.CriticalF except that it is followed by a call to panic
func SetSettings ¶
func SetSettings(logSettings *Logger)
func Warning ¶
func Warning(format interface{}, a ...interface{})
Warning logs a message at Warning level