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 ¶
type Level uint32
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 ¶
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.