إذا كنت بحاجة إلى تخصيص التسجيل بشكل أكبر، يمكنك تحديد أداة تسجيل خاصة بك
تمامًا من خلال توفير أداة تسجيل تنفِّذ واجهة برمجة التطبيقات
LoggerInterface في
GoogleAdsClientBuilder:
$googleAdsClient = (new GoogleAdsClientBuilder())
...
->withLogger(new MyCustomLogger())
->build();
تاريخ التعديل الأخير: 2024-11-09 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 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."]]],[]]