getAllLogsAsString method
Returns all log entries generated for this session as a concatenated
string. If there are asynchronous logs that are not delivered yet,
this method waits for them until waitTimeout
.
Implementation
Future<String?> getAllLogsAsString([int? waitTimeout = null]) async {
try {
return _platform.abstractSessionGetAllLogsAsString(
this.getSessionId(), waitTimeout);
} on PlatformException catch (e, stack) {
print("Plugin getAllLogsAsString error: ${e.message}");
return Future.error("getAllLogsAsString failed.", stack);
}
}