package log

import "github.com/labstack/echo/log"

Index

Types

type Logger

type Logger interface {
	SetOutput(io.Writer)
	SetLevel(log.Lvl)
	Print(...interface{})
	Printf(string, ...interface{})
	Printj(log.JSON)
	Debug(...interface{})
	Debugf(string, ...interface{})
	Debugj(log.JSON)
	Info(...interface{})
	Infof(string, ...interface{})
	Infoj(log.JSON)
	Warn(...interface{})
	Warnf(string, ...interface{})
	Warnj(log.JSON)
	Error(...interface{})
	Errorf(string, ...interface{})
	Errorj(log.JSON)
	Fatal(...interface{})
	Fatalj(log.JSON)
	Fatalf(string, ...interface{})
}

Logger defines the logging interface.

Source Files

logger.go

Version
v2.0.2+incompatible
Published
Jun 16, 2016
Platform
js/wasm
Imports
2 packages
Last checked
4 hours ago

Tools for package owners.