logging

package
v0.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HLogAccessLogHandler

func HLogAccessLogHandler() func(http.Handler) http.Handler

HLogAccessLogHandler provides an hlog based middleware that logs access logs.

func HLogRequestIDHandler

func HLogRequestIDHandler() func(http.Handler) http.Handler

HLogRequestIDHandler provides a middleware that injects request_id into the logging and execution context. It prefers the X-Request-Id header, if that doesn't exist it creates a new request id similar to zerolog.

Types

This section is empty.

Jump to

Keyboard shortcuts

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