mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
📢 Remove debug-related logging
This commit is contained in:
parent
6738f80efc
commit
69a89a7fe4
1 changed files with 0 additions and 7 deletions
|
@ -584,13 +584,6 @@ class SettingsModule implements ServiceModule, ExecutableModule {
|
|||
$merchant_data = $general_settings->get_merchant_data();
|
||||
$merchant_country = $merchant_data->merchant_country;
|
||||
|
||||
$logger = $container->get( 'woocommerce.logger.woocommerce' );
|
||||
assert( $logger instanceof LoggerInterface );
|
||||
|
||||
$logger->info( 'Merchant country: ' . $merchant_country );
|
||||
$logger->info( 'Merchant data: ' . json_encode( $merchant_data ) );
|
||||
$logger->info( '$methods_apm: ' . json_encode( $methods_apm ) );
|
||||
|
||||
// Enable all APM methods.
|
||||
foreach ( $methods_apm as $method ) {
|
||||
// Skip PayUponInvoice if merchant is not in Germany.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue