src/Debug/Debug.php
public function alert($message, $class = 'danger', $dismissible = false)
    {
        // "use" our function params so things don't complain
        array($class, $dismissible);
        $args = \func_get_args();
        $meta = $this->internal->getMetaVals(
            $args,
            array('channel' => $this->cfg['channel']),
            array(
                'message' => null,
                'class' => 'danger',
                'dismissible' => false,
            ),
            array('class','dismissible')
        );
        \extract($args);
        $this->setLogDest('alerts');
        $this->appendLog(
            'alert',
            array($message),
            $meta
        );
        $this->setLogDest('auto');
    }
public function alert($message, $class = 'danger', $dismissible = false)
    {
        // "use" our function params so things don't complain
        array($class, $dismissible);
        $args = \func_get_args();
        $meta = $this->internal->getMetaVals(
            $args,
            array('channel' => $this->cfg['channel']),
            array(
                'message' => null,
                'class' => 'danger',
                'dismissible' => false,
            ),
            array('class','dismissible')
        );
        \extract($args);
        $this->setLogDest('alerts');
        $this->appendLog(
            'alert',
            array($message),
            $meta
        );
        $this->setLogDest('auto');
    }
Add an alert to top of log

@param string  $message     message
@param string  $class       (danger), info, success, warning
@param boolean $dismissible (false)

@return void