logger

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 35

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Colorable added in v1.6.0

func Colorable(w io.Writer) bool

Types

type Base added in v1.3.9

type Base struct {
}

func (*Base) Debug added in v1.3.9

func (b *Base) Debug(...interface{})

func (*Base) Debugf added in v1.3.9

func (b *Base) Debugf(string, ...interface{})

func (*Base) Error added in v1.3.9

func (b *Base) Error(...interface{})

func (*Base) Errorf added in v1.3.9

func (b *Base) Errorf(string, ...interface{})

func (*Base) Fatal added in v1.3.9

func (b *Base) Fatal(...interface{})

func (*Base) Fatalf added in v1.3.9

func (b *Base) Fatalf(string, ...interface{})

func (*Base) Info added in v1.3.9

func (b *Base) Info(...interface{})

func (*Base) Infof added in v1.3.9

func (b *Base) Infof(string, ...interface{})

func (*Base) SetLevel added in v1.3.9

func (b *Base) SetLevel(string)

func (*Base) Warn added in v1.3.9

func (b *Base) Warn(...interface{})

func (*Base) Warnf added in v1.3.9

func (b *Base) Warnf(string, ...interface{})

type LevelSetter

type LevelSetter interface {
	SetLevel(string)
}

type Logger

type Logger interface {
	Debug(...interface{})
	Debugf(string, ...interface{})

	Info(...interface{})
	Infof(string, ...interface{})

	Warn(...interface{})
	Warnf(string, ...interface{})

	Error(...interface{})
	Errorf(string, ...interface{})

	Fatal(...interface{})
	Fatalf(string, ...interface{})
}

Logger is the interface that declares Echo's logging system.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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