/** * Structured HTTP request logging middleware for Hono. * * Logs every request with method, path, status code, latency, and * content-length. In production, outputs JSON for Cloud Logging; in * development, emits a coloured one-liner. * * @example * ```ts * import { requestLogger } from "@rebasepro/server-core"; * app.use("/*", requestLogger()); * ``` */ import type { MiddlewareHandler } from "hono"; export interface RequestLoggerOptions { /** Paths to skip logging (e.g. "/health"). Supports exact match. */ skip?: string[]; } export declare function requestLogger(options?: RequestLoggerOptions): MiddlewareHandler;