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 ¶ added in v1.0.0
func ParseLevel ¶ added in v1.0.1
ParseLevel takes a string level and returns the Logrus log level constant.
func (Level) MarshalText ¶ added in v1.0.1
func (Level) String ¶ added in v1.0.1
Convert the Level to a string. E.g. PanicLevel becomes "panic".
func (*Level) UnmarshalText ¶ added in v1.0.1
UnmarshalText implements encoding.TextUnmarshaler.
type Writer ¶ added in v1.2.3
type Writer interface { Debug(args ...any) Debugf(format string, args ...any) Info(args ...any) Infof(format string, args ...any) Warning(args ...any) Warningf(format string, args ...any) Error(args ...any) Errorf(format string, args ...any) Fatal(args ...any) Fatalf(format string, args ...any) Panic(args ...any) Panicf(format string, args ...any) }
Click to show internal directories.
Click to hide internal directories.