logger

package
v0.0.0-...-b5f797f Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRequestId

func GetRequestId(ctx context.Context) string

func Middleware

func Middleware() mux.MiddlewareFunc

func RequestId

func RequestId() mux.MiddlewareFunc

Types

type SpecificLevelWriter

type SpecificLevelWriter struct {
	io.Writer
	Levels []zerolog.Level
}

func (SpecificLevelWriter) WriteLevel

func (w SpecificLevelWriter) WriteLevel(level zerolog.Level, p []byte) (int, error)

Jump to

Keyboard shortcuts

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