13
14
15
16
17
18
19
20
21 
     | 
    
      # File 'lib/datadog/core/configuration/deprecations.rb', line 13
def self.log_deprecations_from_all_sources(logger, deprecations: DEPRECATIONS, alias_to_canonical: ALIAS_TO_CANONICAL)
  LOG_DEPRECATIONS_ONLY_ONCE.run do
    log_deprecated_environment_variables(logger, ENV, 'environment', deprecations, alias_to_canonical)
    customer_config = StableConfig.configuration.dig(:local, :config)
    log_deprecated_environment_variables(logger, customer_config, 'local', deprecations, alias_to_canonical) if customer_config
    fleet_config = StableConfig.configuration.dig(:fleet, :config)
    log_deprecated_environment_variables(logger, fleet_config, 'fleet', deprecations, alias_to_canonical) if fleet_config
  end
end
     |