This commit is contained in:
2026-02-13 15:46:30 +01:00
parent 85d42c0641
commit e13f7217ab
16 changed files with 759 additions and 1170 deletions

View File

@@ -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)
{

View File

@@ -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)