From 269010590d6eb2327f616ece32db54e65c91aa10 Mon Sep 17 00:00:00 2001 From: huyufei Date: Fri, 15 Mar 2024 12:25:38 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=E6=89=93=E7=82=B9?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs b/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs index 028a8c9..ba2ce88 100644 --- a/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs +++ b/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs @@ -87,7 +87,6 @@ namespace Guru private static void OnReceivedMessage(string condition, string stackTrace, LogType type) { - string msg = $"{DateTime.Now:yy-MM-dd HH:mm:ss} [{ToLogTypeString(type)}] {condition}\n{stackTrace}"; if (_catchFilter.Contains(type)) @@ -114,7 +113,7 @@ namespace Guru public static void LogException(string msg) { - Crashlytics.LogException(new Exception(msg)); + LogException(new Exception(msg)); } public static void Log(string msg)