def parse ( self ) : standard_formatters = re . compile ( r'\((.+?)\)' , re . IGNORECASE ) return standard_formatters . findall ( self . _fmt )
python logging list of all formatter pre defined values
Parses format string looking for substitutions
def parse(self):
        """
        Parses format string looking for substitutions

        This method is responsible for returning a list of fields (as strings)
        to include in all log messages.
        """
        standard_formatters = re.compile(r'\((.+?)\)', re.IGNORECASE)
        return standard_formatters.findall(self._fmt)