describe method

String describe()

Short summary for logs.

Implementation

String describe() {
  final buffer = StringBuffer(ok ? 'ok' : 'FAILED');
  buffer.write(' errors=$errorCount warnings=$warningCount');
  for (final entry in stats.entries) {
    buffer.write(' ${entry.key}=${entry.value}');
  }
  return buffer.toString();
}