removeLogDestination static method

void removeLogDestination(
  1. LogDestination destination
)

Remove a previously-registered log destination.

Flutter-specific extension: Swift's Logging.shared exposes a remove-by-identifier method internally but does not surface a public removal API in RunAnywhere+Logging.swift. We keep this for symmetry with addLogDestination because Dart does not have destination management hooks elsewhere on the public surface.

Implementation

static void removeLogDestination(LogDestination destination) {
  SDKLoggerConfig.shared.removeDestination(destination);
}