livery_access_log (livery v0.2.0)
View SourceAccess-log middleware.
Emits one structured log entry per completed request via the OTP
logger module. Pairs cleanly with livery_request_id: the id
is included in the entry so log aggregators can join request lines
with the response sent to the client.
The log level defaults to info and can be overridden in state:
#{level => debug | info | notice | ...}.
Summary
Functions
Run the handler and log one entry on the way out.
Functions
-spec call(livery_req:req(), livery_middleware:next(), map()) -> livery_resp:resp().
Run the handler and log one entry on the way out.