fetchMonitorLogsAndClearBuffer

Deprecated

Please use `fetchMonitorLogsSince`

Fetches all buffered monitor logs from the device at connection and clears the buffer. Subsequent calls will not return the same log entries.

Return

Result.success wrapping the log response, or Result.failure if the request could not be completed.

Parameters

connection

The device to target.

hideFromLogs

When true, suppresses console logging for this call. Useful for frequently-polled calls to avoid cluttering the console output.