logrus

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	Entry   *logrus.Entry
	HTTPReq *http.Request
}

func (*Wrapper) Error

func (lg *Wrapper) Error(args ...interface{})

func (*Wrapper) Errorf

func (lg *Wrapper) Errorf(f string, args ...interface{})

func (*Wrapper) Fatal

func (lg *Wrapper) Fatal(args ...interface{})

func (*Wrapper) Fatalf

func (lg *Wrapper) Fatalf(f string, args ...interface{})

func (*Wrapper) Info

func (lg *Wrapper) Info(args ...interface{})

func (*Wrapper) Infof

func (lg *Wrapper) Infof(f string, args ...interface{})

func (*Wrapper) Warn

func (lg *Wrapper) Warn(args ...interface{})

func (*Wrapper) Warnf

func (lg *Wrapper) Warnf(f string, args ...interface{})

func (*Wrapper) WithField

func (lg *Wrapper) WithField(k string, v interface{}) logging.Logger

func (*Wrapper) WithFields

func (lg *Wrapper) WithFields(f map[string]interface{}) logging.Logger

func (*Wrapper) WithHTTPRequest

func (lg *Wrapper) WithHTTPRequest(r *http.Request) logging.Logger

Jump to

Keyboard shortcuts

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