Back to godoc.org
github.com/Niecke/ech0

Package ech0

v1.0.4
Latest Go to latest

The latest major version is .

Published: Jun 13, 2020 | License: Apache-2.0 | Module: github.com/Niecke/ech0

Index

type Log

type Log struct {
	// contains filtered or unexported fields
}

Log wraps a zerolog.Logger to provide an `echo.Logger` implementation

func New

func New(pfx string) *Log

New returns a new Log instance with the given prefix

func (Log) Debug

func (l Log) Debug(i ...interface{})

Debug satisfies the echo.Logger interface

func (Log) Debugf

func (l Log) Debugf(format string, i ...interface{})

Debugf satisfies the echo.Logger interface

func (Log) Debugj

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

Debugj satisfies the echo.Logger interface

func (Log) Error

func (l Log) Error(i ...interface{})

Error satisfies the echo.Logger interface

func (Log) Errorf

func (l Log) Errorf(format string, i ...interface{})

Errorf satisfies the echo.Logger interface

func (Log) Errorj

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

Errorj satisfies the echo.Logger interface

func (Log) Fatal

func (l Log) Fatal(i ...interface{})

Fatal satisfies the echo.Logger interface

func (Log) Fatalf

func (l Log) Fatalf(format string, i ...interface{})

Fatalf satisfies the echo.Logger interface

func (Log) Fatalj

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

Fatalj satisfies the echo.Logger interface

func (Log) Info

func (l Log) Info(i ...interface{})

Info satisfies the echo.Logger interface

func (Log) Infof

func (l Log) Infof(format string, i ...interface{})

Infof satisfies the echo.Logger interface

func (Log) Infoj

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

Infoj satisfies the echo.Logger interface

func (Log) Level

func (l Log) Level() log.Lvl

Level satisfies the echo.Logger interface

func (Log) Output

func (l Log) Output() io.Writer

Output satisfies the echo.Logger interface

func (Log) Panic

func (l Log) Panic(i ...interface{})

Panic satisfies the echo.Logger interface

func (Log) Panicf

func (l Log) Panicf(format string, i ...interface{})

Panicf satisfies the echo.Logger interface

func (Log) Panicj

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

Panicj satisfies the echo.Logger interface

func (Log) Prefix

func (l Log) Prefix() string

Prefix satisfies the echo.Logger interface

func (Log) Print

func (l Log) Print(i ...interface{})

Print satisfies the echo.Logger interface

func (Log) Printf

func (l Log) Printf(format string, i ...interface{})

Printf satisfies the echo.Logger interface

func (Log) Printj

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

Printj satisfies the echo.Logger interface

func (*Log) SetLevel

func (l *Log) SetLevel(v log.Lvl)

SetLevel satisfies the echo.Logger interface

func (*Log) SetOutput

func (l *Log) SetOutput(w io.Writer)

SetOutput satisfies the echo.Logger interface

func (*Log) SetPrefix

func (l *Log) SetPrefix(p string)

SetPrefix satisfies the echo.Logger interface

func (Log) Warn

func (l Log) Warn(i ...interface{})

Warn satisfies the echo.Logger interface

func (Log) Warnf

func (l Log) Warnf(format string, i ...interface{})

Warnf satisfies the echo.Logger interface

func (Log) Warnj

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

Warnj satisfies the echo.Logger interface

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