You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file SerilogLogger, in the function LogEvent PrepareWrite<TState>(LogEventLevel level, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter), if the state is IEnumerable<KeyValuePair<string, object> already contains a property "EventId", the following exception is triggered :
Failed to write event through SerilogLogger: System.ArgumentException: An item with the same key has already been added. Key: EventId.