prorm API Reference
    Preparing search index...

    Interface PapertrailStoreOptions

    Connection options for PapertrailStore.

    interface PapertrailStoreOptions {
        apiURL?: string;
        ingestURL?: string;
        token?: string;
        client?: PapertrailHttpClient;
        headers?: Record<string, string>;
    }
    Index
    apiURL?: string

    Base URL of the Papertrail REST API. Defaults to https://papertrailapp.com.

    ingestURL?: string

    Full HTTP log-destination URL that push() ingests to.

    token?: string

    Papertrail API token, sent as X-Papertrail-Token.

    client?: PapertrailHttpClient

    Optional pre-built HTTP client. When provided it is used verbatim and apiURL is ignored; otherwise an internal fetch-based client is built against apiURL on connect().

    headers?: Record<string, string>

    Extra HTTP headers sent with every request.