code: def test_log_action_events_dict_discrete():
      """action logging unit tests"""
      env = build_dummy_maze_env()
      train(env)
  
file_path: maze/maze/test/core/test_action_events_logging.py
imports: from maze.core.env.base_env_events import BaseEnvEvents
  from maze.core.log_stats.log_stats import register_log_stats_writer, LogStatsLevel
  from maze.utils.log_stats_utils import SimpleStatsLoggingSetup
  from maze.core.log_stats.log_stats_writer_console import LogStatsWriterConsole
  from maze.core.log_stats.log_stats_writer_tensorboard import LogStatsWriterTensorboard
  from maze.core.wrappers.log_stats_wrapper import LogStatsWrapper
  from maze.test.shared_test_utils.helper_functions import build_dummy_maze_env
label_desc: Use image node_id 2 for calling a global function with example usage: test_log_action_events_dict_discrete() without return types