getAll

@NotNull
open fun getAll(): @NotNull Map<String, LogManager.State>

Get all log entries from all logs on the device (synchronous).

The logs are read one after another, each in as many requests as it takes to reach its last entry. This method either returns every entry from every log, or throws: if a request fails part-way through, the entries already collected from the preceding logs are discarded together with the exception. To keep partial results, iterate the logs returned by logsList and call getAllFromState for each of them instead, keeping the states that succeeded.

A device that reports no logs at all is not an error, and gives an empty map.

Return

A mapping of log name to state.

Throws