Arod_logSQLite-backed HTTP request logging.
Stores comprehensive request/response metadata for webstats analysis. Uses WAL mode for fast synchronous inserts (~50-100us per request).
val create : sw:Eio.Switch.t -> _ Eio.Path.t -> tcreate ~sw path opens or creates the access log database at path. Enables WAL mode and creates the schema if needed. The database is automatically closed when sw finishes.
val db : t -> Sqlite3_eio.tdb t returns the underlying SQLite database handle for read queries.
val log_request : t -> Httpz_eio.request_info @ local -> unitlog_request t info inserts a request log entry synchronously. Accepts the record as @ local — all values are extracted and bound to SQLite parameters before returning.