src/Debug/Output/Base.php
protected function methodAlert($args, $meta)
    {
        $classToMethod = array(
            'danger' => 'error',
            'info' => 'info',
            'success' => 'info',
            'warning' => 'warn',
        );
        $msg = \str_replace('<br />', ", \n", $args[0]);
        $method = $meta['class'];
        if (isset($classToMethod[$method])) {
            $method = $classToMethod[$method];
        }
        return array($method, array($msg));
    }
protected function methodAlert($args, $meta)
    {
        $classToMethod = array(
            'danger' => 'error',
            'info' => 'info',
            'success' => 'info',
            'warning' => 'warn',
        );
        $msg = \str_replace('<br />', ", \n", $args[0]);
        $method = $meta['class'];
        if (isset($classToMethod[$method])) {
            $method = $classToMethod[$method];
        }
        return array($method, array($msg));
    }
Handle alert method

@param array $args arguments
@param array $meta meta info

@return array array($method, $args)