logger

package
v0.0.0-...-d9662de Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoggerLevelDebug = "DEBUG"
	LoggerLevelInfo  = "INFO"
	LoggerLevelWarn  = "WARN"
	LoggerLevelError = "ERROR"
	LoggerLevelFatal = "FATAL"
	LoggerLevelPanic = "PANIC"
)

Variables

This section is empty.

Functions

func HandlerLogger

func HandlerLogger(parent *zerolog.Logger, ec echo.Context) (log zerolog.Logger)

func InitializeLogger

func InitializeLogger(parent *zerolog.Logger, emptyStruct interface{}) (log zerolog.Logger)

func NewLogger

func NewLogger(cfg *cfg.AppCfg) zerolog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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