private static async Task <HttpResponseMessage> Request(FullLog log)
        {
            Request             req = new Request(log, appkey, appsecret);
            HttpResponseMessage res = await client.PostAsJsonAsync("log", req);

            return(res);
        }
 public static async Task <HttpResponseMessage> Custom(FullLog log)
 {
     try {
         return(await Request(log));
     } catch (Exception ex) {
         if (debug)
         {
             Console.WriteLine(ex);
         }
         return(null);
     }
 }
 public static async Task <HttpResponseMessage> Info(Log log)
 {
     try {
         FullLog full = new FullLog(log, "info");
         return(await Request(full));
     } catch (Exception ex) {
         if (debug)
         {
             Console.WriteLine(ex);
         }
         return(null);
     }
 }