/// <summary>
 /// Processes the response.
 /// </summary>
 /// <param name="url">The URL.</param>
 /// <param name="response">The response.</param>
 /// <param name="data">The data.</param>
 public void ProcessResponse(string url, HttpResponseMessage response, string data, string loglevel = "Debug")
 {
     if (loglevel.ToUpper() == "INFO")
     {
         ApiLogger.Info($"{url}\n-[{(int)response.StatusCode}][data:{data ?? string.Empty}]");
     }
     else
     {
         ApiLogger.Debug($"{url}\n-[{(int)response.StatusCode}][data:{data ?? string.Empty}]");
     }
     response.EnsureSuccessStatusCode();
 }
 /// <summary>
 /// Processes the response.
 /// </summary>
 /// <param name="url">The URL.</param>
 /// <param name="data">The data.</param>
 public void ProcessRequest(string url, object data)
 {
     ApiLogger.Debug($"{url}\n-[data:{(data == null ? string.Empty : HidePd(JsonConvert.SerializeObject(data)))}]");
 }