Documentation ¶
Index ¶
Constants ¶
View Source
const ( StackDriver = "stack" SingleDriver = "single" DailyDriver = "daily" CustomDriver = "custom" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
func ParseLevel ¶
ParseLevel takes a string level and returns the Logrus log level constant.
func (Level) MarshalText ¶
func (*Level) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type Writer ¶ added in v1.0.17
type Writer interface { Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Warning(args ...interface{}) Warningf(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Panic(args ...interface{}) Panicf(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.