AboutSupportDeveloper GuideVersion 45.148.100.77
LogUploadOptions: {
    endpoint: string;
    logs?: LogTypes[];
    manifests?: string[];
    method?: "POST" | "PUT";
    sizeLimit?: number;
    ui?: LogUploaderUIOptions;
}

Type declaration

  • endpoint: string

    The URL where log files are to be uploaded.

  • Optionallogs?: LogTypes[]

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

    ['app', 'rvm', 'debug']
    
  • Optionalmanifests?: string[]

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

    []
    
  • Optionalmethod?: "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'
    
  • OptionalsizeLimit?: number

    Max file size limit in Megabytes for the logs archive.

  • Optionalui?: LogUploaderUIOptions