Iskra API Reference
    Preparing search index...

    Interface LoggerConfig

    interface LoggerConfig {
        accessLog?: boolean;
        format?: "json" | "pretty";
        level?: "fatal" | "error" | "info" | "debug" | "trace" | "warning" | null;
        logRequests?: boolean;
        logResponses?: boolean;
        sinks?: (
            | Sink
            | {
                level?: "error"
                | "warn"
                | "info"
                | "debug";
                path?: string;
                type: "console" | "file";
            }
        )[];
    }
    Index
    accessLog?: boolean

    One line per request when it ends, through the Kernel's logger (the App's pino with WebPlugin): request completed with method, path, status, durationMs, requestId and actor (kind:id) as fields.

    format?: "json" | "pretty"
    level?: "fatal" | "error" | "info" | "debug" | "trace" | "warning" | null
    logRequests?: boolean

    Writes Incoming request METHOD path for each request (console format).

    logResponses?: boolean

    With logRequests, also Request completed STATUS Nms.

    sinks?: (
        | Sink
        | {
            level?: "error"
            | "warn"
            | "info"
            | "debug";
            path?: string;
            type: "console" | "file";
        }
    )[]