code: def dump(
      self,
      *,
      start: int = 0,
      end: int | None = None,
      filter_ansi: bool = True,
  ) -> str:
      """"""
      lines = self._record[start:end]
  
      # scrub outbound for good measure
      full_text = self._scrub_text("\n".join(lines))
  
      if filter_ansi:
          full_text = _ANSI_ESCAPE.sub("", full_text)
  
      return full_text
  
file_path: bokeh/release/logger.py
imports: from __future__ import annotations
  import re
label_desc: Use image node_id 5 for calling the Log obj's underlying member method code with example usage: obj.dump() and returns: full_text