Set debugger bar info

@param string $label Info label
@param string|int $value Info value
@return $this
6922
public function setBarInfo(string $label, $value)
    {
        /** @var \Tracy\DefaultBarPanel $panel */
        $panel = $this->getBarPanel('Tracy:info');
        $panel and $panel->data = ArrayUtils::merge((array) $panel->data, [$label => (string) $value]);
        return $this;
    }
803105
public function mark($label)
	{
		$this->marks[] = new Mark($label, $this->ended(), $this->now(), memory_get_usage(true));

		return $this;
	}
710103
protected function addAttr($label, $value, &$attr)
    {
        if (!isset($attr[$label])) {
            $attr[$label] = '';
        } else {
            $attr[$label] .= ' ';
        }
        $attr[$label] .= $value;

        return $this;
    }
1270373
public function setToggle($label)
    {
        if ($label instanceof Button) {
            $this->toggle = $label;
        } else {
            $this->toggle = new Button($label);
            $this->entity->setEntityName($label);
        }

        $this->toggle->attributes->addAttribute('data-toggle', 'dropdown');
        $this->toggle->attributes->addAttribute('aria-haspopup', true);
        $this->toggle->attributes->addAttribute('aria-expanded', false);
        $this->toggle->attributes->addAttributeClass('dropdown-toggle');

        return $this;
    }
1084854
public function setDebug($debug, $handler = null)
    {
        $this->debug         = $debug;
        $this->debug_handler = $handler;
    }
1150626
function addInfo( $label, $value = 0 )
    {
        // this will only work if the label is one of the valid ones.
        // modify this so that arrays can be passed as well.
        // if $label is an array then assume that it is key=>value pairs
        // else assume that they are both scalar, anything else will probably error
        if ( is_array( $label ) )
        {
            foreach ( $label as $l => $v )
            {
                $this->o_info( $this->infoObject, $l, $v );
            }
        }
        else
        {
            $this->o_info( $this->infoObject, $label, $value );
        }
    }
863549
public function set_label($code, $value)
    {
        if (!array_key_exists($code, $this->labels)) {
            throw new InvalidArgumentException(sprintf('Code %s is not defined', $code));
        }

        $this->labels[$code] = $value;

        return $this;
    }
569617
public function setLabel(Label $label)
    {
        $label->checkId();
        $label->setScriptEvents(true);
        $this->label = $label;
        return $this;
    }
508697
public function setLabelColor($value)
    {
        if (!LabelColor::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "labelColor" value');
        }
        $this->options['labelColor'] = new JsExpression($value);
    }
912476
public function setFilter($label, $value)
	{
		$label = strtolower($label);

		$filters = array(
			"select status" 	=> "filter_published",
			"select access"		=> "filter_access",
			"select language" 	=> "filter_language",
			"select tag"		=> "filter_tag",
			"select max levels"	=> "filter_level"
		);

		$this->click(array('xpath' => "//button[@data-original-title='Filter the list items.']"));
		$this->debug('I try to select the filters');

		foreach ($filters as $fieldName => $id)
		{
			if ($fieldName == $label)
			{
				$this->selectOptionInChosenByIdUsingJs($id, $value);
			}
		}

		$this->debug('Applied filters');
	}
602181
final public function setDebug($callback = true)
    {
        if ($callback === true) {
            if (php_sapi_name() === 'cli') {
                $callback = new DebuggerOutConsole();
            } else {
                $callback = new DebuggerOutHtml();
            }
        }
        $this->debugCallback = $callback;
    }
117543
public static function addMessageIfNull($message,$condition,$label='INFO'){
		if ( $condition===null ) {
			self::debugbar()->addMessage($message,$label);
		}
	}
254828
public static function addMessageIfFalse($message,$condition,$label='INFO'){
		if ( $condition===false ) {
			self::debugbar()->addMessage($message,$label);
		}
	}
1345361
public function setDebugFile($debugFile) {
		$this->debugFile = $debugFile;
		$this->serializer->setDebugFile($debugFile);
		return $this;
	}
1340137
public function first($value, $label = null)
	{
		$this->firstValue = array(
			'label' => $label === null ? $value : $label,
			'value' => $label === null ? '' : $value
		);

		return $this;
	}
297994
public function addMessage($message, $label = 'info', $isString = true)
    {
        if ($this->enabled()) {
            $this->debugbar['messages']->addMessage($message, $label, $isString);
        }

        return $this;
    }
687116
public function setViewportLabel($viewport, $label)
    {
        $this->labels[$viewport] = $label;
        
        $this->updateViewportFields();
        
        return $this;
    }