Documentation
¶
Overview ¶
Package log is the log utilities of sdk
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PanicLevel = Level(logrus.PanicLevel) FatalLevel = Level(logrus.FatalLevel) ErrorLevel = Level(logrus.ErrorLevel) WarnLevel = Level(logrus.WarnLevel) InfoLevel = Level(logrus.InfoLevel) DebugLevel = Level(logrus.DebugLevel) SetLevel = func(level Level) { logrus.SetLevel(logrus.Level(level)) } GetLevel = func() Level { return Level(logrus.GetLevel()) } SetOutput = logrus.SetOutput SetFormatter = logrus.SetFormatter WithError = logrus.WithError WithField = logrus.WithField Debug = logrus.Debug Print = logrus.Print Info = logrus.Info Warn = logrus.Warn Warning = logrus.Warning Error = logrus.Error Panic = logrus.Panic Fatal = logrus.Fatal Debugf = logrus.Debugf Printf = logrus.Printf Infof = logrus.Infof Warnf = logrus.Warnf Warningf = logrus.Warningf Errorf = logrus.Errorf Panicf = logrus.Panicf Fatalf = logrus.Fatalf )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.