kinetex - v1.0.0-rc.1
    Preparing search index...

    Function createProductionLogger

    • Create a production-ready logger with JSON transport and optional remote shipping.

      Security Warning: Logs structured JSON to stdout by default; when an endpoint is configured, entries are batched and sent to the remote service. Ensure the remote endpoint uses HTTPS in production.

      Parameters

      • options: {
            level?: "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "SILENT";
            endpoint?: string;
            context?: Record<string, unknown>;
        }

      Returns HTTPLogger