code: def set_sft_logger_level(log_level):
      """Change the logger of the StatefulTractogram
      to one on the following: DEBUG, INFO, WARNING, CRITICAL, ERROR
  
      Parameters
      ----------
      log_level : str
          Log level for the StatefulTractogram only
      """
      logger.setLevel(level=log_level)
  
imports: from bisect import bisect
  from collections import OrderedDict
  from copy import deepcopy
  import enum
  from itertools import product
  import logging
  from nibabel.affines import apply_affine
  from nibabel.streamlines.tractogram import Tractogram, PerArraySequenceDict, PerArrayDict
  import numpy
  from dipy.io.dpy import Streamlines
  from dipy.io.utils import get_reference_info, is_reference_info_valid, is_header_compatible
label_desc: Use image node_id 1 for calling a global function with example usage: set_sft_logger_level(log_level) without return types