Documentation ¶
Index ¶
- func Debug(args ...any)
- func Debugf(format string, args ...any)
- func Error(args ...any)
- func Errorf(format string, args ...any)
- func Info(args ...any)
- func Infof(format string, args ...any)
- func NewEntry() *logrus.Entry
- func Trace(args ...any)
- func Tracef(format string, args ...any)
- func Warning(args ...any)
- func Warningf(format string, args ...any)
- func WithField(key string, value any) *logrus.Entry
- func WithFields(fields logrus.Fields) *logrus.Entry
- func Write(p []byte) (n int, err error)
- func WriterLevel(lev logrus.Level) *io.PipeWriter
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriterLevel ¶
func WriterLevel(lev logrus.Level) *io.PipeWriter
Types ¶
type Logger ¶
type Logger interface { Tracef(format string, args ...any) Trace(args ...any) Debugf(format string, args ...any) Debug(args ...any) Infof(format string, args ...any) Info(args ...any) Warningf(format string, args ...any) Warning(args ...any) Errorf(format string, args ...any) Error(args ...any) WithField(key string, value any) *logrus.Entry WithFields(fields logrus.Fields) *logrus.Entry WriterLevel(logrus.Level) *io.PipeWriter NewEntry() *logrus.Entry Write(p []byte) (n int, err error) }
Click to show internal directories.
Click to hide internal directories.