Updated
This commit is contained in:
@@ -51,8 +51,6 @@ namespace EonaCat.Logger.LogClient
|
||||
}
|
||||
}
|
||||
|
||||
public void Log(LogEntry entry) => LogAsync(entry).GetAwaiter().GetResult();
|
||||
|
||||
public async Task LogExceptionAsync(Exception ex, string message = "",
|
||||
Dictionary<string, object>? properties = null)
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace EonaCat.Logger.LogClient
|
||||
entry.StackTrace = e.Exception.StackTrace;
|
||||
}
|
||||
|
||||
_client.Log(entry);
|
||||
_client.LogAsync(entry).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
private static LogLevel MapLogLevel(ELogType logType)
|
||||
|
||||
Reference in New Issue
Block a user