@grow-codes/better-stack-logs - v0.1.1
    Preparing search index...

    Interface BetterStackLogClientOptions

    interface BetterStackLogClientOptions {
        batch?: BatchOptions;
        exporter?: BetterStackLogExporterOptions;
        minSeverity?: Severity;
        now?: () => Date;
        otlp?: BetterStackOtlpLogExporterOptions;
        protocol?: "http" | "otlp";
        redaction?: false | RedactionOptions | RedactionProcessor;
        resource?: Attributes;
    }

    Hierarchy (View Summary)

    Index
    batch?: BatchOptions

    Batching behaviour.

    Encoding and limits of the HTTP exporter (protocol "http").

    minSeverity?: Severity

    Default minimum severity of loggers created by BatchingLogClient.logger.

    now?: () => Date

    Clock used for missing timestamps (tests).

    Options of the OTLP exporter (protocol "otlp").

    protocol?: "http" | "otlp"

    "http" (Better Stack ingest API, default) or "otlp" (OTLP/HTTP /v1/logs).

    redaction?: false | RedactionOptions | RedactionProcessor

    Redaction applied before records are queued; false disables it (not recommended).

    resource?: Attributes

    Resource attributes added to every record (service.name, deployment.environment, …).