logging

package
v5.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HeaderRequestID hold the header name to which the RIP is attached
	HeaderRequestID = "X-Request-Id"
)

Variables

This section is empty.

Functions

func Handler

func Handler(next webfmwk.HandlerFunc) webfmwk.HandlerFunc

Handler generate an request ID and log information about the newly receive request The logger is then overloaded to add the request ID to every futur log message

Types

This section is empty.

Jump to

Keyboard shortcuts

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