logger

package
v0.0.0-...-79dbf9b Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPLogger

func HTTPLogger(log *zerolog.Logger) echo.MiddlewareFunc

HTTPLogger returns a custom logging middleware that uses zerolog

func NewZeroLog

func NewZeroLog(writer io.Writer) *zerolog.Logger

NewZeroLog creates a new zerolog logger

func ParseLevel

func ParseLevel(level string) zerolog.Level

ParseLevel parses a level from string to log level

Types

This section is empty.

Jump to

Keyboard shortcuts

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