AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Type Alias LogUploadOptions

    type LogUploadOptions = {
        endpoint: string;
        logs?: LogTypes[];
        manifests?: string[];
        method?: "POST" | "PUT";
        sizeLimit?: number;
        ui?: LogUploaderUIOptions;
    }
    Index
    endpoint: string

    The URL where log files are to be uploaded.

    logs?: LogTypes[]

    An array of strings that specifies which logs should be uploaded.

    ['app', 'rvm', 'debug']
    
    manifests?: string[]

    An array of URL match patterns to define the manifests of the programs that the Log Uploader should upload logs for.

    []
    
    method?: "POST" | "PUT"

    HTTP method used to upload the log archive. Accepted values are 'POST' and 'PUT' (case-insensitive; values are normalised to uppercase before validation).

    • POST sends a multipart FormData request (current behaviour).
    • PUT sends the raw zip binary with an explicit Content-Length and no Content-Type header, suitable for endpoints that expect a raw body (e.g. pre-signed upload URLs).
    'POST'
    
    sizeLimit?: number

    Max file size limit in Megabytes for the logs archive.