code: def _format_logs(self):
      logs = self.logs or []
      fmt = logging.Formatter("%(asctime)s: %(levelname)s %(message)s")
      return "\n".join([fmt.format(r) for r in logs])
  
imports: import curses
  import logging
  from tabview import tabview
label_desc: Use image node_id 9 for calling the Viewer obj's underlying member method code with example usage: obj._format_logs() and returns: str