package
0.0.0-20241009022845-d75332b7f8c2
Repository: https://github.com/rchouinard/go-middlewares.git
Documentation: pkg.go.dev

# Functions

GetLoggerFromContext extracts the logger from the provided context.
GetLoggerFromRequest extracts the logger from the provided HTTP request's context.
Logger is a middleware that wraps the provided http.Handler with JSON error and request logging.
Logger is a middleware that wraps the provided http.Handler with text error and request logging.
New returns a middleware that logs requests with the provided logger and access logger.