getSystemLog method
- String logType
This operation gets a system log from the device. The exact format of the system logs is outside the scope of this standard.
Implementation
Future<SystemInformation> getSystemLog(String logType) async {
loggy.debug('getSystemLog');
final envelope = await transport.sendRequest(
uri,
transport.securedEnvelope(
soap.DeviceManagementRequest.getSystemLog(logType)));
if (envelope.body.hasFault) {
throw Exception(envelope.body.fault.toString());
}
return GetSystemLogResponse.fromJson(envelope.body.response!).systemLog;
}