Documentation
¶
Index ¶
- Variables
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func SetCallerSkip(skip int)
- func SetFullpath(fullpath bool)
- func SetLevel(level Level)
- func SetOutput(output io.Writer)
- func Warnf(format string, args ...interface{})
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AllLevels = []Level{PanicLevel, FatalLevel, ErrorLevel, WarnLevel, InfoLevel, DebugLevel, TraceLevel}
)
Functions ¶
func SetCallerSkip ¶ added in v0.1.4
func SetCallerSkip(skip int)
func SetFullpath ¶ added in v0.1.2
func SetFullpath(fullpath bool)
Types ¶
type Level ¶ added in v0.1.2
const ( PanicLevel Level = Level(logrus.PanicLevel) FatalLevel Level = Level(logrus.FatalLevel) ErrorLevel Level = Level(logrus.ErrorLevel) WarnLevel Level = Level(logrus.WarnLevel) InfoLevel Level = Level(logrus.InfoLevel) DebugLevel Level = Level(logrus.DebugLevel) TraceLevel Level = Level(logrus.TraceLevel) )
func ParseLevel ¶ added in v0.1.5
Click to show internal directories.
Click to hide internal directories.