- Модуль: sale
- Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/vk.php
- Класс: BitrixSaleTradingPlatformVkVk
- Вызов: Vk::log
public function log($level, $type, $itemId, $description)
{
//hardcode, because we not use other levels
$logLevel = TradingPlatformLogger::LOG_LEVEL_DEBUG;
$this->logger->setLevel($logLevel);
// todo: maybe we need email reporting of fatal errors
return $this->addLogRecord($level, $type, $itemId, $description);
}