def gen_DroneLog(drone_id, log_string):
    """Generate a Drone log object from log string."""
    dronelog = {
        "@type": "DroneLog",
        "DroneID": drone_id,
        "LogString": log_string
    }
    return dronelog