Home > @magiclane/maps-sdk > LogUploader > create
LogUploader.create() method
Creates a LogUploader instance.
The optional onLogStatusChanged callback receives status updates during the lifecycle of an upload.
Signature:
static create(options?: {
onLogStatusChanged?: (error: GemError, logPath: string, status: LogUploaderState | null, progress: number | null) => void;
}): LogUploader;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
{ onLogStatusChanged?: (error: GemError, logPath: string, status: LogUploaderState | null, progress: number | null) => void; } |
(Optional) Configuration options |
Returns:
A new LogUploader instance.