private function isRotationNeeded()
    {
        clearstatcache();
        
        if (! file_exists($this->file)) {
            return false;
        }
        
        $result = false;
        
        $attributes = stat($this->file);
        
        if ($attributes == false || $attributes['size'] >= $this->maxLogSize * 1024 * 1024) {
            $result = true;
        }
        
        return $result;
    }
private function isRotationNeeded()
    {
        clearstatcache();
        
        if (! file_exists($this->file)) {
            return false;
        }
        
        $result = false;
        
        $attributes = stat($this->file);
        
        if ($attributes == false || $attributes['size'] >= $this->maxLogSize * 1024 * 1024) {
            $result = true;
        }
        
        return $result;
    }
private function isRotationNeeded ( ) { clearstatcache ( ) ; if ( ! file_exists ( $ this -> file ) ) { return false ; } $ result = false ; $ attributes = stat ( $ this -> file ) ; if ( $ attributes == false || $ attributes [ 'size' ] >= $ this -> maxLogSize * 1024 * 1024 ) { $ result = true ; } return $ result ; }
Checks whether a rotation of log file is necessary

@return boolean true in case of its necessary, false otherwise
Checks whether a rotation of log file is necessary