update: 更新打点报错

deeplink
胡宇飞 2024-03-15 12:25:38 +08:00
parent b28a039bd0
commit 269010590d
1 changed files with 1 additions and 2 deletions

View File

@ -87,7 +87,6 @@ namespace Guru
private static void OnReceivedMessage(string condition, string stackTrace, LogType type) 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}"; string msg = $"{DateTime.Now:yy-MM-dd HH:mm:ss} [{ToLogTypeString(type)}] {condition}\n{stackTrace}";
if (_catchFilter.Contains(type)) if (_catchFilter.Contains(type))
@ -114,7 +113,7 @@ namespace Guru
public static void LogException(string msg) public static void LogException(string msg)
{ {
Crashlytics.LogException(new Exception(msg)); LogException(new Exception(msg));
} }
public static void Log(string msg) public static void Log(string msg)