Skip to content

Commit

Permalink
Merge pull request #97 from microsoft/bilong-circular
Browse files Browse the repository at this point in the history
Don't serialize AddEvent
  • Loading branch information
jschick04 authored May 22, 2023
2 parents 34c8b44 + fab8dee commit 8be30e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/EventLogExpert/Store/LoggingMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8be30e3

Please sign in to comment.