parameters: (logger: Logger)
docstring: Register custom logger.
  
      Parameters
      ----------
      logger : logging.Logger
          Custom logger.
docstring_summary: Register custom logger.
docstring_tokens: Register custom logger .
function: def register_logger(logger: Logger) -> None:
      """Register custom logger.
  
      Parameters
      ----------
      logger : logging.Logger
          Custom logger.
      """
      if not isinstance(logger, Logger):
          raise TypeError("Logger should inherit logging.Logger class")
      global _LOGGER
      _LOGGER = logger
function_tokens: def register_logger ( logger : Logger ) -> None : if not isinstance ( logger , Logger ) : raise TypeError ( "Logger should inherit logging.Logger class" ) global _LOGGER _LOGGER = logger