import pathlib


def _get_log_dir(exec_func_name):
    """Get the log directory given the experiment name.

    Args:
        exec_func_name (str): The function name which runs benchmarks.

    Returns:
        str: Log directory.

    """
    cwd = pathlib.Path.cwd()
    return str(cwd.joinpath('data', 'local', 'benchmarks', exec_func_name))