code: def normalize_name(self, name):
          
          name = name.lower()
          if name in self.aliases:
              name = self.aliases[name]
          return name
docs: Normalize a field or level name.
  
          :param name: The field or level name (a string).
          :returns: The normalized name (a string).
  
          Transforms all strings to lowercase and resolves level name aliases
          (refer to :func:`find_level_aliases()`) to their canonical name:
  
          >>> from coloredlogs import NameNormalizer
          >>> from humanfriendly import format_table
          >>> nn = NameNormalizer()
          >>> sample_names = ['DEBUG', 'INFO', 'WARN', 'WARNING', 'ERROR', 'FATAL', 'CRITICAL']
          >>> print(format_table([(n, nn.normalize_name(n)) for n in sample_names]))
          -----------------------
          | DEBUG    | debug    |
          | INFO     | info     |
          | WARN     | warning  |
          | WARNING  | warning  |
          | ERROR    | error    |
          | FATAL    | critical |
          | CRITICAL | critical |
          -----------------------