mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Enable logging by default for now
This commit is contained in:
parent
0262549382
commit
40cc95d895
1 changed files with 1 additions and 9 deletions
|
@ -2218,15 +2218,7 @@ return array(
|
|||
);
|
||||
},
|
||||
'wcgateway.logging.is-enabled' => function ( ContainerInterface $container ) : bool {
|
||||
$settings = $container->get( 'wcgateway.settings' );
|
||||
|
||||
/**
|
||||
* Whether the logging of the plugin errors/events is enabled.
|
||||
*/
|
||||
return apply_filters(
|
||||
'woocommerce_paypal_payments_is_logging_enabled',
|
||||
$settings->has( 'logging_enabled' ) && $settings->get( 'logging_enabled' )
|
||||
);
|
||||
return true;
|
||||
},
|
||||
|
||||
'wcgateway.helper.vaulting-scope' => static function ( ContainerInterface $container ): bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue