Documentation ¶
Index ¶
- type Entry
- type Fields
- type LogFunction
- type Logrus
- func (this *Logrus) Debug(args ...any)
- func (this *Logrus) DebugFn(fn LogFunction)
- func (this *Logrus) Debugf(template string, args ...any)
- func (this *Logrus) Debugln(args ...any)
- func (this *Logrus) Error(args ...any)
- func (this *Logrus) ErrorFn(fn LogFunction)
- func (this *Logrus) Errorf(template string, args ...any)
- func (this *Logrus) Errorln(args ...any)
- func (this *Logrus) Exit(code int)
- func (this *Logrus) Fatal(args ...any)
- func (this *Logrus) FatalFn(fn LogFunction)
- func (this *Logrus) Fatalf(template string, args ...any)
- func (this *Logrus) Fatalln(args ...any)
- func (this *Logrus) GetLevel() logrus.Level
- func (this *Logrus) Info(args ...any)
- func (this *Logrus) InfoFn(fn LogFunction)
- func (this *Logrus) Infof(template string, args ...any)
- func (this *Logrus) Infoln(args ...any)
- func (this *Logrus) Panic(args ...any)
- func (this *Logrus) PanicFn(fn LogFunction)
- func (this *Logrus) Panicf(template string, args ...any)
- func (this *Logrus) Panicln(args ...any)
- func (this *Logrus) PrintFn(fn LogFunction)
- func (this *Logrus) Println(args ...any)
- func (this *Logrus) Trace(args ...any)
- func (this *Logrus) TraceFn(fn LogFunction)
- func (this *Logrus) Tracef(template string, args ...any)
- func (this *Logrus) Traceln(args ...any)
- func (this *Logrus) Warn(args ...any)
- func (this *Logrus) WarnFn(fn LogFunction)
- func (this *Logrus) Warnf(template string, args ...any)
- func (this *Logrus) Warning(args ...any)
- func (this *Logrus) WarningFn(fn LogFunction)
- func (this *Logrus) Warningf(template string, args ...any)
- func (this *Logrus) Warningln(args ...any)
- func (this *Logrus) Warnln(args ...any)
- func (this *Logrus) WithConfig(config map[string]any)
- func (this *Logrus) WithField(key string, value any) any
- func (this *Logrus) WithFields(fields map[string]any) any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logrus ¶
*
- 日志 logrus 驱动 *
- @create 2021-11-3
- @author deatil
func (*Logrus) DebugFn ¶
func (this *Logrus) DebugFn(fn LogFunction)
func (*Logrus) ErrorFn ¶
func (this *Logrus) ErrorFn(fn LogFunction)
func (*Logrus) FatalFn ¶
func (this *Logrus) FatalFn(fn LogFunction)
func (*Logrus) InfoFn ¶
func (this *Logrus) InfoFn(fn LogFunction)
func (*Logrus) PanicFn ¶
func (this *Logrus) PanicFn(fn LogFunction)
func (*Logrus) PrintFn ¶
func (this *Logrus) PrintFn(fn LogFunction)
func (*Logrus) TraceFn ¶
func (this *Logrus) TraceFn(fn LogFunction)
func (*Logrus) WarnFn ¶
func (this *Logrus) WarnFn(fn LogFunction)
func (*Logrus) WarningFn ¶
func (this *Logrus) WarningFn(fn LogFunction)
Click to show internal directories.
Click to hide internal directories.