• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/diag/logger.php
  • Класс: BitrixMainDiagLogger
  • Вызов: Logger::setLevel
public function setLevel(string $level)
{
	if (isset(static::$supportedLevels[$level]))
	{
		$this->level = static::$supportedLevels[$level];
	}

	return $this;
}