def get_latest_log_file(name, testing=False) -> Optional[str]:
    '\n    Returns the filename of the last logfile with `name`.\n    Useful when you want to read the logfile of another TimeBench service.\n    '
    last_logs = _get_latest_log_files(name, testing=testing)
    return (last_logs[0] if last_logs else None)
Returns the filename of the last logfile with `name`.
Useful when you want to read the logfile of another TimeBench service.
def get_latest_log_file(name, testing=False) -> Optional[str]:
    '\n    Returns the filename of the last logfile with `name`.\n    Useful when you want to read the logfile of another TimeBench service.\n    '
    last_logs = _get_latest_log_files(name, testing=testing)
    return (last_logs[0] if last_logs else None)