Метод warn

private

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

private function warn(string $message, ManagedAgentInstance $instance, int $retryCount, ?string $reason = null): void

Возвращает: void

Описание

Writes the structured record of a record that needs attention. The identity is represented by the HMAC token the lifecycle service uses, so the records of one instance correlate across both journals. The identity hash itself, the original context, the parameters, the constants and the text of an exception have no field here at all.

Параметры

4
Имя Тип По умолчанию Флаги
$message string —
—
$instance ManagedAgentInstance —
—
$retryCount int —
—
$reason ?string null
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Infrastructure/Agent/ManagedSystemAiAgentCleanupAgent.php
Расположение метода в файле
Строки 302–340

Исходный код

PHP