/** * Checks whether the given record will be handled by this handler. * * Uses the admin configuration settings to determine if the record should be handled * * @param array $record * @return Boolean */ public function isHandling(array $record) { return $this->avaTaxConfig->isModuleEnabled() && $this->avaTaxConfig->getLogFileEnabled() && $record['level'] >= $this->avaTaxConfig->getLogFileLevel(); }