code: def _extract_level(self):
          
          if self._level is None:
              split_tokens = self.split_tokens
  
              if not split_tokens:
                  self._level = False
                  self._component = False
                  return
  
              x = (self.log_levels.index(split_tokens[1])
                   if split_tokens[1] in self.log_levels else None)
  
              if x is not None:
                  self._level = split_tokens[1]
                  self._component = split_tokens[2]
              else:
                  self._level = False
                  self._component = False
docs: Extract level and component if available (lazy).