You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set a custom logger w/ the with...Logger() function of the AdWordsSessionBuilder you will get a runtime exception later, because some inner implementation calls isHandling() on the implementation of Psr\Log\LoggerInterface which does not exist.
For example:
$myLogger = new (class that implements Psr\Log\LoggerInterface) { ,,, };
$builder = (new AdWordsSessionBuilder())
// ...
->withReportDownloaderLogger($myLogger)
->build();
PHP Fatal error: Call to undefined method MyLogger::isHandling() in vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/GuzzleLogMessageHandler.php on line 53
The text was updated successfully, but these errors were encountered:
If you set a custom logger w/ the
with...Logger()
function of theAdWordsSessionBuilder
you will get a runtime exception later, because some inner implementation callsisHandling()
on the implementation ofPsr\Log\LoggerInterface
which does not exist.For example:
PHP Fatal error: Call to undefined method MyLogger::isHandling() in vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/GuzzleLogMessageHandler.php on line 53
The text was updated successfully, but these errors were encountered: