addLogDestination static method

void addLogDestination(
  1. LogDestination destination
)

Add a custom log destination. Mirrors Swift's addLogDestination(_:). Destinations receive every log record after filtering by LogLevel.

Implementation

static void addLogDestination(LogDestination destination) {
  SDKLoggerConfig.shared.addDestination(destination);
}