flushLogs static method

void flushLogs()

Force flush all pending logs to destinations. Mirrors Swift's flushLogs().

Implementation

static void flushLogs() {
  for (final destination in SDKLoggerConfig.shared.destinations) {
    destination.flush();
  }
  DartBridgeTelemetry.flush();
}