logrus

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger logrus.FieldLogger) log.Logger

Types

type Logger

type Logger struct {
	Logger logrus.FieldLogger
}

func (*Logger) Debug

func (d *Logger) Debug(args ...interface{})

func (*Logger) Debugf

func (d *Logger) Debugf(format string, args ...interface{})

func (*Logger) Debugln

func (d *Logger) Debugln(args ...interface{})

func (*Logger) Error

func (d *Logger) Error(args ...interface{})

func (*Logger) Errorf

func (d *Logger) Errorf(format string, args ...interface{})

func (*Logger) Errorln

func (d *Logger) Errorln(args ...interface{})

func (*Logger) Info

func (d *Logger) Info(args ...interface{})

func (*Logger) Infof

func (d *Logger) Infof(format string, args ...interface{})

func (*Logger) Infoln

func (d *Logger) Infoln(args ...interface{})

func (*Logger) Panic

func (d *Logger) Panic(args ...interface{})

func (*Logger) Panicf

func (d *Logger) Panicf(format string, args ...interface{})

func (*Logger) Panicln

func (d *Logger) Panicln(args ...interface{})

func (*Logger) Warn

func (d *Logger) Warn(args ...interface{})

func (*Logger) Warnf

func (d *Logger) Warnf(format string, args ...interface{})

func (*Logger) Warnln

func (d *Logger) Warnln(args ...interface{})

func (*Logger) WithError

func (d *Logger) WithError(err error) log.Logger

func (*Logger) WithField

func (d *Logger) WithField(key string, value interface{}) log.Logger

func (*Logger) WithFields

func (d *Logger) WithFields(fields log.Fields) log.Logger

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL