• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/diag/exceptionhandlerformatter.php
  • Класс: BitrixMainDiagExceptionHandlerFormatter
  • Вызов: ExceptionHandlerFormatter::convertArgumentToString
static function convertArgumentToString($arg, $level)
{
	$formatter = new LogFormatter((bool)($level & static::SHOW_PARAMETERS), static::MAX_CHARS);

	return $formatter->formatArgument($arg);
}