Extract log level if available (lazy).

def level(self):
        """Extract log level if available (lazy)."""
        if not self._level_calculated:
            self._level_calculated = True
            self._extract_level()
        return self._level