private function shouldLog($event)
    {
        $level = isset($this->configuration[$event]) ? $this->configuration[$event] : '';
        $level = strtolower($level);

        if (!$level) {
            return '';
        }

        if (!isset(self::$levels[$level])) {
            return '';
        }

        return $level;
    }