def print_to_log(message, log_file):
    """Append a line to a log file

    :param message: The message to be appended.
    :type message: ``str``
    :param log_file: The log file to write the message to.
    :type log_file: ``Path``
    """

    with open(log_file, "a") as file_handle:
        message.rstrip()
        file_handle.write(message+"\n")
    return 0