• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/paysystem/logger.php
  • Класс: Bitrix\Sale\PaySystem\Logger
  • Вызов: Logger::addDebugInfo
static function addDebugInfo($debugInfo)
{
	if (!is_string($debugInfo))
	{
		throw new ArgumentTypeException('$debugInfo', 'string');
	}

	if (self::getLevel() !== static::E_ALL)
	{
		return;
	}

	PaySystemErrLogTable::add([
		'DATE_INSERT' => new DateTime(),
		'MESSAGE' => $debugInfo,
	]);
}