def METHOD_NAME(self, start: str, end: str, novel: int, notes: int, idle: int) -> str:
    """Low level function to create a log record."""
    data = json.dumps({
        "type": "record", "start": start, "end": end,
        "novel": novel, "notes": notes, "idle": idle,
    })
    return f"{data}\n"