code: def record(self, *lines: str) -> tuple[int, int]:
      """"""
      if len(lines) == 1 and "\n" in lines[0]:
          lines = tuple(lines[0].split("\n"))
  
      start = len(self._record)
      for line in lines:
          line = self._scrub_text(line)
          self._record.append(line)
          print(line, flush=True)
      return (start, len(self._record))
  
file_path: bokeh/release/logger.py
imports: from __future__ import annotations
  import re
label_desc: Use image node_id 3 for calling the Log obj's underlying member method code with example usage: obj.record() and returns: start,  len