Метод getLogger
Сигнатура метода
private function getLogger(): ?LoggerInterface
Возвращает:
?LoggerInterface
Описание
Null while the logger is switched off, which is the same journal the lifecycle service writes to. The answer is resolved once and kept for the life of the agent, the negative one as well: a pass reports several records, and a switched off journal would otherwise build the factory for each of them.
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Infrastructure/Agent/ManagedSystemAiAgentCleanupAgent.php
Расположение метода в файле
Строки
363–374