Documentation
¶
Index ¶
- Variables
- func Debug(args ...any)
- func Debugf(format string, args ...any)
- func Error(args ...any)
- func Errorf(format string, args ...any)
- func Fatal(args ...any)
- func Fatalf(format string, args ...any)
- func FormatPanic(value any, stack []byte) string
- func Info(args ...any)
- func Infof(format string, args ...any)
- func IsDebugLevel() bool
- func IsErrorLevel() bool
- func IsFatalLevel() bool
- func IsInfoLevel() bool
- func IsPanicLevel() bool
- func IsTraceLevel() bool
- func IsWarnLevel() bool
- func Panic(args ...any)
- func Panicf(format string, args ...any)
- func Trace(args ...any)
- func Tracef(format string, args ...any)
- func Warn(args ...any)
- func Warnf(format string, args ...any)
- type Entry
- type Fields
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SkipKey = "#skip" PanicKey = "panic" ErrorKey = logrus.ErrorKey )
Functions ¶
func FormatPanic ¶
func IsDebugLevel ¶
func IsDebugLevel() bool
func IsErrorLevel ¶
func IsErrorLevel() bool
func IsFatalLevel ¶
func IsFatalLevel() bool
func IsInfoLevel ¶
func IsInfoLevel() bool
func IsPanicLevel ¶
func IsPanicLevel() bool
func IsTraceLevel ¶
func IsTraceLevel() bool
func IsWarnLevel ¶
func IsWarnLevel() bool
Types ¶
type Entry ¶
func WithFields ¶
Click to show internal directories.
Click to hide internal directories.