parameters: (self, record)
return_statement: return fmt.format(record)
docstring: Format the specified record.
  
          If a formatter is set, use it. Otherwise, use the default formatter
          for the module.
docstring_summary: Format the specified record.
docstring_tokens: Format the specified record .
function: 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)
function_tokens: def format ( self , record ) : if self . formatter : fmt = self . formatter else : fmt = _defaultFormatter return fmt . format ( record )