إذا كنت بحاجة إلى تخصيص التسجيل بشكل أكبر، يمكنك تحديد أداة تسجيل خاصة بك
تمامًا من خلال توفير أداة تسجيل تنفِّذ واجهة برمجة التطبيقات
LoggerInterface في
GoogleAdsClientBuilder:
$googleAdsClient = (new GoogleAdsClientBuilder())
...
->withLogger(new MyCustomLogger())
->build();
تاريخ التعديل الأخير: 2024-11-09 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-09 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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."]]],[]]