code: def log_statistics_list(stats_list, logger_fn=tf.logging.info):
      """Calls the given logger function on each `Statistic` in the list.
  
      Args:
        stats_list: A list of `Statistic` objects.
        logger_fn: The function which will be called on the string representation
            of each `Statistic`.
      """
      for stat in sorted(stats_list, key=lambda s: s.name):
          logger_fn(str(stat))
  
imports: import abc
  import bisect
  import copy
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling a global function with example usage: log_statistics_list(stats_list, logger_fn) without return types