code: def __init__(self, out=sys.stdout):
      self.out = out
  
imports: from logging import getLogger
  import os
  import sys
  import time
  import getpass
  from collections import deque
  from copy import copy
  from ..utils import auto_repr
  from ..utils import on_windows
  from .base import InteractiveUI
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 1 to create a new ConsoleLog object from inherited base classes: object with example: obj = ConsoleLog(out)