public function log( common_log_Item $item)
    {
    	if ((1<<$item->getSeverity() & $this->mask) > 0
    		&& (empty($this->tags) || count(array_intersect($item->getTags(), $this->tags))) > 0) {
        	$this->doLog($item);
    	}

    }
public function log( common_log_Item $item)
    {
    	if ((1<<$item->getSeverity() & $this->mask) > 0
    		&& (empty($this->tags) || count(array_intersect($item->getTags(), $this->tags))) > 0) {
        	$this->doLog($item);
    	}

    }
public function log ( common_log_Item $ item ) { if ( ( 1 << $ item -> getSeverity ( ) & $ this -> mask ) > 0 && ( empty ( $ this -> tags ) || count ( array_intersect ( $ item -> getTags ( ) , $ this -> tags ) ) ) > 0 ) { $ this -> doLog ( $ item ) ; } }
decides whenever the Item should be logged by doLog

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  Item item
@return mixed
@see doLog
decides whenever the Item should be logged by doLog