Ns_RegisterServerTrace
Overview
Register a trace procedure for a virtual server.
Syntax
typedef void (Ns_TraceProc) (void *context, Ns_Conn *conn);
Ns_ProcHandle Ns_RegisterServerTrace(
char *hServer,
Ns_TraceProc *proc,
void *context
);
Description
The Ns_RegisterServerTrace function registers proc
as a trace for the specified virtual server. The server calls all trace procedures after every HTTP connection with the context and the Ns_Conn for that connection. The procedures are run in last-registered first-run order. A trace procedure is often used for logging.