Метод getLogger

private

Сигнатура метода

private function getLogger(): ?LoggerInterface

Возвращает: ?LoggerInterface

Описание

Null while the logger is switched off in the registry: there is nothing to write the diagnostics to, so the journal is skipped instead of feeding a logger that discards everything. The answer is resolved once and kept for the life of the service, the negative one as well: an operation writes several records, and a switched off journal would otherwise build the factory for each of them.

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки 2262–2271

Исходный код

PHP