ezlog

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Writer:          os.Stdout,
	Lvl:             log.WARN,
	TimeFieldFormat: zerolog.TimeFormatUnix,
}

Functions

func Prepare

func Prepare(e *echo.Echo)

func PrepareWithConfig added in v0.1.1

func PrepareWithConfig(e *echo.Echo, conf *Config)

Types

type Config added in v0.1.1

type Config struct {
	io.Writer
	log.Lvl
	TimeFieldFormat string
}

Directories

Path Synopsis
examples
internal

Jump to

Keyboard shortcuts

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