Phalcon\Logger\Adapter\Firelogger::__construct PHP Метод

__construct() публичный Метод

Class constructor.
public __construct ( string $name = 'phalcon', array $options = [] )
$name string
$options array
    public function __construct($name = 'phalcon', array $options = [])
    {
        $defaults = ['password' => null, 'checkVersion' => true, 'traceable' => false, 'triggerError' => true];
        if ($name) {
            $this->name = $name;
        }
        $this->options = array_merge($defaults, $options);
        $this->enabled = $this->checkPassword() && $this->checkVersion();
        register_shutdown_function([$this, 'commit']);
    }