If you need to further customize logging, you can specify your own logger
entirely by providing a logger that implements the
LoggerInterface in
GoogleAdsClientBuilder:
$googleAdsClient = (new GoogleAdsClientBuilder()) ... ->withLogger(new MyCustomLogger()) ->build();
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["The PHP client library uses PSR-3 for logging gRPC calls, with log levels varying based on success or failure of the event."],["By default, logs are written to `STDERR` using a Monolog StreamHandler with configurable options in the `google_ads_php.ini` file."],["For advanced customization, developers can implement the `LoggerInterface` and provide their own logger to the `GoogleAdsClientBuilder`."],["Logging is currently not supported for REST calls."]]],[]]