/** * @see \PHPLog\FilterAbstract::decide() */ public function decide(Event $event) { if ($this->className === null) { return FilterAbstract::NEUTRAL; } if ($event->getClass() === null) { return FilterAbstract::NEUTRAL; } if ($event->getClass() == $this->className) { return $this->acceptOnMatch ? FilterAbstract::ACCEPT : FilterAbstract::DENY; } return FilterAbstract::NEUTRAL; }