• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/debug.php
  • Класс: BitrixImOpenLinesDebug
  • Вызов: Debug::addQueueEvent
static function addQueueEvent($type, $lineId = 0, $sessionId = 0, $data = null)
{
	if(defined('IMOPENLINES_FULL_DEBUG'))
	{
		try
		{
			LogTable::add(array(
				'LINE_ID' => $lineId,
				'SESSION_ID' => $sessionId,
				'TYPE' => 'queue event: ' . $type,
				'DATA' => $data,
				'TRACE' => debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)
			));
		}
		catch (BitrixMainSystemException $e)
		{

		}
	}
}