Phalcon\Logger\Adapter\Firelogger::getFormatter PHP Method

getFormatter() public method

public getFormatter ( ) : Phalcon\Logger\FormatterInterface
return Phalcon\Logger\FormatterInterface
    public function getFormatter()
    {
        if (!$this->_formatter) {
            $this->_formatter = new FireloggerFormatter($this->name);
        }
        return $this->_formatter;
    }