void IPreNotificationFilter.OnPreNotification(PreNotificationFilterContext context) { if (_target.HasFlag(LogFilterTarget.Notification) == false || _logProxy.IsEnabled(context.Actor) == false) { return; } var invokeJson = GetValueString(context.Notification.InvokePayload); _logProxy.Log( context.Actor, $"<- {_methodShortName} {invokeJson}"); }
void IPreNotificationFilter.OnPreNotification(PreNotificationFilterContext context) { if (_target.HasFlag(LogFilterTarget.Notification) == false || _logProxy.IsEnabled(context.Actor) == false) return; var invokeJson = GetValueString(context.Notification.InvokePayload); _logProxy.Log( context.Actor, $"<- {_methodShortName} {invokeJson}"); }