forked from LiveCarta/PayPal-PHP-SDK
First pass on implementing PSR logger interface
- Created a separate PayPalLogger as default implementation. - Enabled `log.Adapter` as a configuration to pass name of custom logger.
This commit is contained in:
@@ -90,6 +90,7 @@ function getApiContext($clientId, $clientSecret)
|
||||
'cache.enabled' => true,
|
||||
// 'http.CURLOPT_CONNECTTIMEOUT' => 30
|
||||
// 'http.headers.PayPal-Partner-Attribution-Id' => '123123123'
|
||||
// 'log.Adapter' => '\Your\Custom\Logger' // Class name of the logger to be used. Must be implementing Psr\Log\LoggerInterface
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user