|
@@ -45,7 +45,7 @@ public class SendLogService : ISendLogService
|
|
|
|
|
|
private void PostMessage(string methodName, string jsonString)
|
|
|
{
|
|
|
- CoroutineExtensionUtility.StartCoroutine(PostRequestTest(methodName, jsonString));
|
|
|
+ CoroutineUtility.StartCoroutine(PostRequestTest(methodName, jsonString));
|
|
|
}
|
|
|
private IEnumerator PostRequestTest(string methodName, string jsonString)
|
|
|
{
|
|
@@ -68,21 +68,11 @@ public class SendLogService : ISendLogService
|
|
|
if (webRequest.error != null)
|
|
|
{
|
|
|
Debug.LogError(webRequest.error + "\n" + webRequest.downloadHandler.text + "\n" + methodName);
|
|
|
-
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
Debug.Log(webRequest.downloadHandler.text);
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-public class SendLogInfo
|
|
|
-{
|
|
|
- public string level { get; set; }
|
|
|
- public string tag { get; set; }
|
|
|
- public string message { get; set; }
|
|
|
-
|
|
|
-}
|