code: def register_pre_exec_callback(action_logger):
      """Register more action_logger function callback for pre-execution.
  
      This function callback is expected to be called with keyword args.
      For more about the arguments that is being passed to the callback,
      refer to airflow.utils.cli.action_logging().
  
      :param action_logger: An action logger function
      :return: None
      """
      logging.debug(
          "Adding %s to pre execution callback", action_logger
      )
      __pre_exec_callbacks.append(action_logger)
  
file_path: airflow/airflow/utils/cli_action_loggers.py
imports: from __future__ import annotations
  import json
  import logging
  from typing import Callable
label_desc: Use image node_id 1 for calling a global function with example usage: register_pre_exec_callback(action_logger) without return types