parameters: (self, record)
return_statement: return formatted
docstring: Calls the standard formatter, but will indent all of the log message
  
          lines by our current indentation level.
function: def format(self, record):
  
          """
  
          Calls the standard formatter, but will indent all of the log message
  
          lines by our current indentation level.
  
          """
  
          formatted = super().format(record)
  
          message_start = self.get_message_start(formatted, record.levelno)
  
          formatted = message_start + formatted
  
  
  
          prefix = ''
  
          if self.add_timestamp:
  
              prefix = f"{self.formatTime(record)} "
  
          prefix += " " * get_indentation()
  
          formatted = "".join([
  
              prefix + line
  
              for line in formatted.splitlines(True)
  
          ])
  
          return formatted
function_tokens: def format ( self , record ) : formatted = super ( ) . format ( record ) message_start = self . get_message_start ( formatted , record . levelno ) formatted = message_start + formatted prefix = '' if self . add_timestamp : prefix = f"{self.formatTime(record)} " prefix += " " * get_indentation ( ) formatted = "" . join ( [ prefix + line for line in formatted . splitlines ( True ) ] ) return formatted