getLogMetadata method

LogMetadata getLogMetadata(
  1. String logPath
)

Gets the metadata for a file.

Parameters

  • IN logPath The path to the file for which we get the metadata.

Returns

  • The log file metadata.

Throws

  • An exception if it fails

Implementation

LogMetadata getLogMetadata(final String logPath) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'RecorderBookmarks',
    'getMetadata',
    args: logPath,
  );

  return LogMetadata(resultString['result']);
}