Logger.LogInformation("Job {Group}-{Name} after event with {Event} has executing.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
awaitOnJobAfterExecutedAsync(context);
Logger.LogInformation("Job {Group}-{Name} after event with {Event} was executed.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
Logger.LogInformation("Job {Group}-{Name} after event with {Event} has executing.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
awaitOnJobAfterExecutedAsync(context);
Logger.LogInformation("Job {Group}-{Name} after event with {Event} was executed.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
}
}
}
catch(Exceptionex)
@ -37,12 +40,15 @@ public abstract class JobEventBase<TEvent> : IJobEvent
Logger.LogInformation("Job {Group}-{Name} before event with {Event} executing.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
awaitOnJobBeforeExecutedAsync(context);
Logger.LogInformation("Job {Group}-{Name} before event with {Event} was executed.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
Logger.LogInformation("Job {Group}-{Name} before event with {Event} executing.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
awaitOnJobBeforeExecutedAsync(context);
Logger.LogInformation("Job {Group}-{Name} before event with {Event} was executed.",context.EventData.Group,context.EventData.Name,typeof(TEvent).Name);
}
}
}
catch(Exceptionex)
@ -51,11 +57,21 @@ public abstract class JobEventBase<TEvent> : IJobEvent