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.
Access Class: READ_SYSTEM_SECRET
Implementation
Future<SystemInformation> getSystemLog(String logType) async {
loggy.debug('getSystemLog');
final responseEnvelope = await transport.securedRequest(
uri,
soap.Body(
request: DeviceManagementRequest.getSystemLog(logType),
));
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return GetSystemLogResponse.fromJson(responseEnvelope.body.response!)
.systemLog;
}