parameters: (self, msg)
return_statement: return space + msg
docstring: Add empty lines.
  
          The number of empty lines depends on the time since
          the last record has been sent.
docstring_summary: Add empty lines.
docstring_tokens: Add empty lines .
function: def _add_space(self, msg):
          """ Add empty lines.
  
          The number of empty lines depends on the time since
          the last record has been sent.
          """
          if time.time() - SpaceFormatter._last_log_time > 3600:
              space = "\n\n\n"
          elif time.time() - self._last_log_time > 60:
              space = "\n\n"
          elif time.time() - self._last_log_time > 1:
              space = "\n"
          else:
              space = ""
          SpaceFormatter._last_log_time = time.time()
  
          return space + msg
function_tokens: def _add_space ( self , msg ) : if time . time ( ) - SpaceFormatter . _last_log_time > 3600 : space = "\n\n\n" elif time . time ( ) - self . _last_log_time > 60 : space = "\n\n" elif time . time ( ) - self . _last_log_time > 1 : space = "\n" else : space = "" SpaceFormatter . _last_log_time = time . time ( ) return space + msg