code: def test_logging_to_file():
      logger = logging.get_logger(__name__)
  
      assert logger.to_file("msg") is None
  
imports: from opytimizer.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: test_logging_to_file() without return types