Documentation ¶
Index ¶
- func NewFileHook(paths []string, levels []logrus.Level) logrus.Hook
- func NewLogger(options *logger.Options) logger.Logger
- func NewWriter(outputPaths []string) io.Writer
- type Logger
- func (l *Logger) Debug(msg string)
- func (l *Logger) Entity() *logrus.Entry
- func (l *Logger) Error(msg string)
- func (l *Logger) Fatal(msg string)
- func (l *Logger) Info(msg string)
- func (l *Logger) Panic(msg string)
- func (l *Logger) V(level logger.Level) logger.StdLogger
- func (l *Logger) Warn(msg string)
- func (l *Logger) WithFields(field logger.Fields) logger.Logger
- func (l *Logger) WithKeyAndValues() logrus.FieldLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) WithFields ¶ added in v1.5.5
func (*Logger) WithKeyAndValues ¶ added in v1.5.5
func (l *Logger) WithKeyAndValues() logrus.FieldLogger
Click to show internal directories.
Click to hide internal directories.