(self, levelName)
return self.priority_map.get(levelName, "warning")
Map a logging level name to a key in the priority_names map.
        This is useful in two scenarios: when custom levels are being
        used, and in the case where you can't do a straightforward
        mapping by lowercasing the logging level name because of locale-
        specific issues (see SF #1524081).
Map a logging level name to a key in the priority_names map.
        This is useful in two scenarios: when custom levels are being
        used, and in the case where you can't do a straightforward
        mapping by lowercasing the logging level name because of locale-
        specific issues (see SF #1524081).
Map a logging level name to a key in the priority_names map . This is useful in two scenarios : when custom levels are being used and in the case where you can t do a straightforward mapping by lowercasing the logging level name because of locale - specific issues ( see SF #1524081 ) .
def mapPriority(self, levelName):
        """
        Map a logging level name to a key in the priority_names map.
        This is useful in two scenarios: when custom levels are being
        used, and in the case where you can't do a straightforward
        mapping by lowercasing the logging level name because of locale-
        specific issues (see SF #1524081).
        """
        return self.priority_map.get(levelName, "warning")
def mapPriority ( self , levelName ) : return self . priority_map . get ( levelName , "warning" )