logger

package
v0.0.0-...-ab7f80e Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(r *http.Request, status, size int, duration time.Duration)

Handler for zerolog

Types

type Configuration

type Configuration struct {
	LevelName string `mapstructure:"level"`
	Prefix    string
}

Configuration struct

func (Configuration) Level

func (c Configuration) Level() zerolog.Level

Level type

Jump to

Keyboard shortcuts

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