LoggerOptions type definition.

interface LoggerOptions {
    destination?: string;
    format?: "json" | "text";
    level:
        | "debug"
        | "info"
        | "warn"
        | "error";
}

Properties

destination?: string

The destination where logs are written.

format?: "json" | "text"

The format of the log output.

level:
    | "debug"
    | "info"
    | "warn"
    | "error"

The logging level.