code: def __init__(self, verbose=2, is_constrained=False):
      self._verbose = verbose
      self._is_constrained = is_constrained
      self._header_length = None
      super(ScreenLogger, self).__init__()
  
imports: from __future__ import print_function
  import os
  import json
  import warnings
  from pathlib import Path
  from .observer import _Tracker
  from .event import Events
  from .util import Colours
label_desc: Use image node_id 1 to create a new ScreenLogger object from inherited base classes: _Tracker with example: obj = ScreenLogger(verbose, is_constrained)