# Functions
APIErrorHandler handles errors occurring in the API classes
Based on [echo.DefaultHTTPErrorHandler] but always logging errors and returning "problem" response with content-type "application/problem+json".
RequestLogger is a middleware function to log requests in echo using slog.
SlogContext is a middleware function to add the given logger is to the request context.