log()
log(\Psr\Log\LoggerInterface $logger,\Google\AdsApi\Common\GuzzleLogMessageFormatter $messageFormatter): callable
Logs requests and responses for Guzzle HTTP calls to non-SOAP ads API endpoints to the specified logger.
Parameters
\Psr\Log\LoggerInterface | $logger | |
\Google\AdsApi\Common\GuzzleLogMessageFormatter | $messageFormatter |
Returns
callable —a function that accepts the next handler