Back to godoc.org
github.com/admiralobvious/echo-logrusmiddleware

Package logrusmiddleware

v0.0.0-...-0e1b4f4
Latest Go to latest

The latest major version is .

Published: Feb 21, 2019 | License: MIT | Module: github.com/admiralobvious/echo-logrusmiddleware

Index

func Hook

func Hook() echo.MiddlewareFunc

type Logger

type Logger struct {
	*logrus.Logger
}

func (Logger) Debugj

func (l Logger) Debugj(j log.JSON)

func (Logger) Errorj

func (l Logger) Errorj(j log.JSON)

func (Logger) Fatalj

func (l Logger) Fatalj(j log.JSON)

func (Logger) Infoj

func (l Logger) Infoj(j log.JSON)

func (Logger) Level

func (l Logger) Level() log.Lvl

func (Logger) Output

func (l Logger) Output() io.Writer

func (Logger) Panicj

func (l Logger) Panicj(j log.JSON)

func (Logger) Prefix

func (l Logger) Prefix() string

func (Logger) Printj

func (l Logger) Printj(j log.JSON)

func (Logger) SetHeader

func (l Logger) SetHeader(_ string)

SetHeader is a stub to satisfy the Logger interface It's controlled by logrus

func (Logger) SetLevel

func (l Logger) SetLevel(lvl log.Lvl)

func (Logger) SetOutput

func (l Logger) SetOutput(w io.Writer)

func (Logger) SetPrefix

func (l Logger) SetPrefix(_ string)

func (Logger) Warnj

func (l Logger) Warnj(j log.JSON)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier