applyEnvironmentConfiguration method

void applyEnvironmentConfiguration(
  1. SDKEnvironment environment
)

Apply configuration based on SDK environment. Mirrors Swift Logging.applyEnvironmentConfiguration(_:), called at the top of init so logging boots with the correct per-environment config.

Implementation

void applyEnvironmentConfiguration(SDKEnvironment environment) {
  _environment = environment;
  configure(LoggingConfigurations.forEnvironment(environment));
}