public function setFormatter()
    {
        switch ($this->_format) {
            case 'HTML':
                //HTML Format
                $this->_formatter = new \Zend_Log_Formatter_Simple('<tr><td>%date%</td> <td>%time%</td> <td>%priorityName%</td> <td>%package%</td> <td>%message%</td> <td>%back_trace%</td> </tr>' . PHP_EOL);
                break;
            case 'XML':
                //XML Format
                require_once 'Zend/Log/Formatter/Xml.php';
                $this->_formatter = new \Zend_Log_Formatter_Xml();
                break;
            case 'CSV':
            default:
                //CSV Format
                $this->_formatter = new \Zend_Log_Formatter_Simple("'%date%','%time%','%priorityName%','%package%','%message%','%back_trace%'" . PHP_EOL);
                break;
        }
    }