diff --git a/src/EventLogExpert/Store/LoggingMiddleware.cs b/src/EventLogExpert/Store/LoggingMiddleware.cs index 65c20635..33657de8 100644 --- a/src/EventLogExpert/Store/LoggingMiddleware.cs +++ b/src/EventLogExpert/Store/LoggingMiddleware.cs @@ -26,6 +26,10 @@ public override void BeforeDispatch(object action) // We don't want to serialize all the events. _debugLogger.Trace($"Action: EventLogAction.LoadEvents with {loadEventsAction.Events.Count} events."); } + else if (action is EventLogAction.AddEvent addEventsAction) + { + _debugLogger.Trace($"Action: EventLogAction.AddEvent with {addEventsAction.NewEvent.Source} event ID {addEventsAction.NewEvent.Id}."); + } else if (action is FilterPaneAction.RemoveFilter) { // We can't serialize a Func.