Shopify/active_merchant — pull request #381 by moklett (2012-06-20 18:26:14+00:00)
Title: Allows setting of the Braintree logger via +wiredump_device+

For example:

ActiveMerchant::Billing::BraintreeBlueGateway.wiredump_device = Logger.new(STDOUT)

Also, a developer can now set the Braintree logger level (Braintree::Configuration.logger.level) without having it overwritten by ActiveMerchant.

Previously, ActiveMerchant was forcing the Braintree logger level to be Logger::ERROR when a BraintreeBlueGateway was instantiated, even if an explicit log level was already configured.

There is no reason for ActiveMerchant to set the Braintree logger or the log level (unless wiredump_device is set) since the Braintree gem sets a sane default already.