/**
  * decides whenever the Item should be logged by doLog
  *
  * @access public
  * @author Joel Bout, <*****@*****.**>
  * @param  Item item
  * @return mixed
  * @see doLog
  */
 public function log(Item $item)
 {
     // section 127-0-1-1--5509896f:133feddcac3:-8000:000000000000435D begin
     if ((1 << $item->getSeverity() & $this->mask) > 0 && (empty($this->tags) || count(array_intersect($item->getTags(), $this->tags))) > 0) {
         $this->doLog($item);
     }
     // section 127-0-1-1--5509896f:133feddcac3:-8000:000000000000435D end
 }