Logger\Handler::__construct PHP Method

__construct() public method

Sets the formatter.
public __construct ( Formatter $formatter, resource $output, integer $level = LOGGER_LOG_LEVEL ) : void
$formatter Formatter
$output resource Output resource or file
$level integer Code level to log, anything greater than the given code will be logged.
return void
        public function __construct(Formatter $formatter, $output, $level = LOGGER_LOG_LEVEL)
        {
            $this->_formatter = $formatter;
            $this->_output = $output;
            $this->_level = $level;
            $this->_make_writeable();
        }