Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLoggerFromCtx ¶
GetLoggerFromCtx is a helper for pulling a logger from a context value
func RequestLoggerMiddleware ¶
RequestLoggerMiddleware is a middleware that injects a logger into the request's context which automatically includes a log group with request information
func SetupLogger ¶
SetupLogger builds a new slog.Logger which is configured at the log level according to the GOSHERVE_LOG_LEVEL environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.