recordHttp: (
req: any,
res: any,
detail: any,
) => {
action: string;
actor: string;
actorForm: string;
address: string;
at: number;
category: any;
channel: string;
detail: { "(more)": string };
errorCode: string;
outcome: any;
protocol: string;
seq: number;
summary: string;
target: string;
} = recordHttp
Records one answered HTTP request; called by
app.js's call log.Every failed response gets an error code, and is recorded even with
audit.protocolCallsoff. A healthcheck answered 200 is not recorded.