← All compilation units

Flyology.HTTP.Server.Middleware_Logging

Description

Records bounded request metadata and monotonic timing through a caller sink.

App_Context

type App_Context is limited private;

Call

procedure Call
  (Context : in out App_Context;
   X       : in out Flyology.HTTP.Server.Applications.Exchange;
   Next    : in out Components.Next_Handler)

Access-log middleware component.

Parameters
Context

Typed application context

X

Borrowed request exchange

Next

Borrowed downstream continuation

Components

with package Components is new
  Flyology.HTTP.Server.Middleware (App_Context);

Include_Target

Include_Target : Boolean := False;

Output

Output         : not null access Logging.Sink'Class;