src/Vatsimphp/Log/Logger.php
protected function getHandler($file, $level)
    {
        if (empty(self::$handler)) {
            $handler = new StreamHandler($file, $level);
            $handler->setFormatter($this->getCustomFormatter());
            self::$handler = $handler;
        }

        return self::$handler;
    }
protected function getHandler($file, $level)
    {
        if (empty(self::$handler)) {
            $handler = new StreamHandler($file, $level);
            $handler->setFormatter($this->getCustomFormatter());
            self::$handler = $handler;
        }

        return self::$handler;
    }
protected function getHandler ( $ file , $ level ) { if ( empty ( self :: $ handler ) ) { $ handler = new StreamHandler ( $ file , $ level ) ; $ handler -> setFormatter ( $ this -> getCustomFormatter ( ) ) ; self :: $ handler = $ handler ; } return self :: $ handler ; }
Get streamhandler.

@param string $file
@param int    $level

@return \Monolog\Handler\StreamHandler
Get streamhandler .