Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorWithFields ¶
type Level ¶ added in v0.3.1
type Level uint8
func ParseLevel ¶ added in v0.3.1
ParseLevel takes a string level and returns the Logrus log level constant.
type Logger ¶
type Logger interface { Level() Level WithField(key string, value interface{}) Logger WithFields(fields Fields) Logger WithError(err error) Logger Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Panicf(format string, args ...interface{}) Debug(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Error(args ...interface{}) Panic(args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.