Documentation ¶
Index ¶
- Variables
- func Bootstrap(prefix string)
- 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 Info(args ...any)
- func Infof(format string, args ...any)
- func Panic(args ...any)
- func SetLevel(level logrus.Level)
- func SetLogger(l *logrus.Logger)
- func SetOutput(writer io.Writer)
- func Trace(args ...any)
- func Tracef(format string, args ...any)
- func Warn(args ...any)
- func Warnf(format string, args ...any)
- func WithError(err interface{}) *logrus.Entry
- func WithField(key string, value interface{}) *logrus.Entry
- func WithFields(fields logrus.Fields) *logrus.Entry
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogger = logrus.New()
DefaultLogger is an alias for the standard logrus Logger.
Functions ¶
func SetOutput ¶
SetOutput sets the output of the DefaultLogger to an io.Writer, useful for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.