compressLogs method

Future<String> compressLogs()

Compresses the debug log into a gzip archive.

Best practice is to delete this debug archive as soon as it is no longer used.

Return The path of the compressed gzip file.

Throws A description of the exception. See ChatError.


Future<String> compressLogs() async {
  Map result = await ClientChannel.invokeMethod(ChatMethodKeys.compressLogs);
  try {
    return result[ChatMethodKeys.compressLogs];
  } on ChatError catch (e) {
    throw e;