content property

String get content

Implementation

static String get content {
  var content = StringBuffer();
  try {
    for (final event in logs) {
      for (final message in event.lines) {
        content.write('$message\n');
      }
    }
  } catch (e) {
    debugPrint(' ------日志获取异常了------ ');
  }

  return content.toString();
}