public static LogRequest WriteLog(
     this Connection conn,
     IClientState state,
     LogRequest logRequest
     )
 {
     var(headerSetMessages, response) = conn.Execute <LogRequest>(
         logRequest.CreateRestRequestJson(
             Method.POST,
             "/services/v3/logs"
             ),
         state,
         Includes.Hmac
         );
     return(response);
 }