public function messageLogged(BuildEvent $event)
    {
        $priority = $event->getPriority();
        if ($priority <= $this->msgOutputLevel) {
            $this->bar->setMessage(str_replace(["\n", "\r"], ["", ""], $event->getMessage()));
            $this->bar->display();
        }
    }