Home > @magiclane/maps-sdk > RecorderBookmarks > getLogMetadata

RecorderBookmarks.getLogMetadata() method

Retrieves metadata for a specific log file.

Signature:

getLogMetadata(logPath: string): LogMetadata | null;

Parameters

Parameter

Type

Description

logPath

string

The path to the log file for which metadata is requested.

Returns:

LogMetadata | null

A LogMetadata instance when the file exists and metadata could be read, or null if the file does not exist or an error occurred.