Documentation ¶
Index ¶
- Variables
- func CheckErr(level logrus.Level, err error)
- func Debug(messages ...interface{})
- func Debugf(format string, messages ...interface{})
- func Error(messages ...interface{})
- func Errorf(format string, messages ...interface{})
- func Fatal(messages ...interface{})
- func Info(messages ...interface{})
- func Infof(format string, messages ...interface{})
- func Log(level logrus.Level, messages ...interface{})
- func SetFormatter(formatter logrus.Formatter)
- func SetLevel(level logrus.Level)
- func Warn(messages ...interface{})
- func Warnf(format string, messages ...interface{})
- func WithField(key string, value interface{}) *logrus.Entry
- func WithFields(fields logrus.Fields) *logrus.Entry
- type Level
- type TextFormatter
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WarnLevel = logrus.WarnLevel InfoLevel = logrus.InfoLevel DebugLevel = logrus.DebugLevel ErrorLevel = logrus.ErrorLevel FatalLevel = logrus.FatalLevel PanicLevel = logrus.PanicLevel )
Functions ¶
func SetFormatter ¶
Types ¶
type TextFormatter ¶
type TextFormatter = logrus.TextFormatter
Click to show internal directories.
Click to hide internal directories.