def METHOD_NAME(tmpdir):
    log_file = get_logfile_path(str(tmpdir))
    openwpm_logger = mp_logger.MPLogger(log_file)
    child_process = Process(target=child_proc_logging_exception())
    child_process.daemon = True
    child_process.start()
    child_process.join()
    openwpm_logger.close()
    log_content = get_logfile_contents(log_file)
    assert "I'm logging an exception" in log_content