code: def test_logging(tmpdir: Path) -> None:
      cmd = [
          "examples/configure_hydra/logging/my_app.py",
          "hydra.run.dir=" + str(tmpdir),
          "hydra.job.chdir=True",
      ]
      result, _err = run_python_script(cmd)
      assert result == "[INFO] - Info level message"
  
file_path: hydra/tests/test_examples/test_configure_hydra.py
imports: from pathlib import Path
  from textwrap import dedent
  from typing import Any
  from hydra.test_utils.test_utils import assert_text_same, chdir_hydra_root, run_python_script
label_desc: Use image node_id 5 for calling a global function with example usage: test_logging(tmpdir) without return types