code: def register(logger: base_logger.Logger) -> None:
      """Register an additional logger within TFDS.
  
      Registered loggers are called on TFDS events, synchronously, from the same
      thread the call was made, in sequence, and in registration order. Exceptions
      are *NOT* caught.
  
      Args:
        logger: the logger to register.
      """
      _init_registered_loggers().append(logger)
  
imports: import abc
  import atexit
  import collections
  import functools
  import threading
  from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar
  from absl import flags
  from tensorflow_datasets.core.logging import base_logger
  from tensorflow_datasets.core.logging import call_metadata
  from tensorflow_datasets.core.logging import logging_logger
  import wrapt
label_desc: Use image node_id 5 for calling a global function with example usage: register(logger) without return types