getLogs method
Get log journal entries at the given LogLevel
Implementation
Future<GetLogsResponse> getLogs({
LogLevel priority = LogLevel.warning,
}) async {
return GetLogsResponse.fromJson(await _sendRequest(
'get_logs',
params: <String, dynamic>{'priority': priority.index},
));
}