(self, record)
return fmt.format(record)
Format the specified record.

        If a formatter is set, use it. Otherwise, use the default formatter
        for the module.
Format the specified record.
Format the specified record .
def format(self, record):
        """
        Format the specified record.

        If a formatter is set, use it. Otherwise, use the default formatter
        for the module.
        """
        if self.formatter:
            fmt = self.formatter
        else:
            fmt = _defaultFormatter
        return fmt.format(record)
def format ( self , record ) : if self . formatter : fmt = self . formatter else : fmt = _defaultFormatter return fmt . format ( record )