Documentation ¶
Index ¶
- type Debuger
- type Errorer
- type Fataler
- type Formater
- type Infoer
- type Logger
- func (l Logger) AddField(key string, value interface{})
- func (l Logger) Caller(i int) Logger
- func (l Logger) Debug(args ...interface{})
- func (l Logger) Debugf(format string, args ...interface{})
- func (l Logger) Debugln(args ...interface{})
- func (l Logger) Error(args ...interface{})
- func (l Logger) Errorf(format string, args ...interface{})
- func (l Logger) Errorln(args ...interface{})
- func (l Logger) Fatal(args ...interface{})
- func (l Logger) Fatalf(format string, args ...interface{})
- func (l Logger) Fatalln(args ...interface{})
- func (l Logger) Info(args ...interface{})
- func (l Logger) Infof(format string, args ...interface{})
- func (l Logger) Infoln(args ...interface{})
- func (l Logger) Panic(args ...interface{})
- func (l Logger) Panicf(format string, args ...interface{})
- func (l Logger) Panicln(args ...interface{})
- func (l Logger) Print(args ...interface{})
- func (l Logger) Printf(format string, args ...interface{})
- func (l Logger) Println(args ...interface{})
- func (l Logger) Read(p []byte) (int, error)
- func (l Logger) Warn(args ...interface{})
- func (l Logger) Warnf(format string, args ...interface{})
- func (l Logger) Warnln(args ...interface{})
- type Panicer
- type Printer
- type Warner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debuger ¶
type Debuger interface { IsDebug() bool Debug(args ...interface{}) Debugln(args ...interface{}) Debugf(format string, args ...interface{}) }
Debuger Output debug message if IsDebug() return false, function will not output
type Errorer ¶
type Errorer interface { Error(args ...interface{}) Errorln(args ...interface{}) Errorf(format string, args ...interface{}) }
Errorer Output error message
type Fataler ¶
type Fataler interface { Fatal(args ...interface{}) Fatalln(args ...interface{}) Fatalf(format string, args ...interface{}) }
Fataler Output Fataler message
type Infoer ¶
type Infoer interface { Info(args ...interface{}) Infoln(args ...interface{}) Infof(format string, args ...interface{}) }
Infoer Output information message
type Panicer ¶
type Panicer interface { Panic(args ...interface{}) Panicln(args ...interface{}) Panicf(format string, args ...interface{}) }
Panicer Output panic message
Click to show internal directories.
Click to hide internal directories.