public void Handle( IUntypedActorContext context, IActorRef manager, string aggregateId) { context.GetLogger().Info(aggregateId); manager.Tell(new ReportAggregateId(aggregateId)); }
public void Handle( IUntypedActorContext actorContext, IActorRef repository, TProjectionContext projectionContext, IActorRef manager, EventEnvelope eventEnvelope) { var projector = FindOrCreate(eventEnvelope.PersistenceId, actorContext); projector.Tell(new ProjectEvent <TProjectionContext> { Context = projectionContext, Event = eventEnvelope }); actorContext.GetLogger().Info("{0} - {1} - {2}", eventEnvelope.Event.GetType(), eventEnvelope.PersistenceId, eventEnvelope.SequenceNr); }
public static ILoggingAdapter GetSeriLogger(this IUntypedActorContext context) { return(context.GetLogger <SerilogLoggingAdapter>()); }
public static ILoggingAdapter GetSeriLogger(this IUntypedActorContext context) { return(context.GetLogger(new SerilogLogMessageFormatter())); }
public void Handle( IUntypedActorContext context, EventEnvelope persistedEvent) { context.GetLogger().Info(persistedEvent.Offset.ToString()); }