protected function isJSError($logEntryLevel, $message)
    {
        return
            (
                ($this->isPhantom() && $logEntryLevel != 'INFO')          // phantomjs logs errors as "WARNING"
                || $logEntryLevel === 'SEVERE'                            // other browsers log errors as "SEVERE"
            )
            && strpos($message, 'ERR_PROXY_CONNECTION_FAILED') === false;  // ignore blackhole proxy
    }
protected function isJSError($logEntryLevel, $message)
    {
        return
            (
                ($this->isPhantom() && $logEntryLevel != 'INFO')          // phantomjs logs errors as "WARNING"
                || $logEntryLevel === 'SEVERE'                            // other browsers log errors as "SEVERE"
            )
            && strpos($message, 'ERR_PROXY_CONNECTION_FAILED') === false;  // ignore blackhole proxy
    }
protected function isJSError ( $ logEntryLevel , $ message ) { return ( ( $ this -> isPhantom ( ) && $ logEntryLevel != 'INFO' ) // phantomjs logs errors as "WARNING" || $ logEntryLevel === 'SEVERE' // other browsers log errors as "SEVERE" ) && strpos ( $ message , 'ERR_PROXY_CONNECTION_FAILED' ) === false ; // ignore blackhole proxy }
Determines if the log entry is an error.
The decision is made depending on browser and log-level.

@param string $logEntryLevel
@param string $message
@return bool
Determines if the log entry is an error . The decision is made depending on browser and log - level .