• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/infrastructure/service/loggerservice.php
  • Класс: BitrixLocationInfrastructureServiceLoggerService
  • Вызов: LoggerService::log
public function log(int $level, string $message, int $eventType = 0, array $context = [])
{
	if(!$this->isLevelSatisfied($level) && !$this->isEventSatisfied($eventType))
	{
		return;
	}

	if(count($context) > 0)
	{
		$message = $this->interpolate($message, $context);
	}

	$this->logger->log($level, $message, $eventType, $context);
}