update: 更新打点报错
parent
b28a039bd0
commit
269010590d
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue