/// <inheritdoc/> protected override Task <TResult> ImplementationAsync <TResult>(Func <Context, CancellationToken, Task <TResult> > action, Context context, CancellationToken cancellationToken, bool continueOnCapturedContext) { return(LoggingEngine.ImplementationAsync( action, context, continueOnCapturedContext, this.ExceptionPredicates, ResultPredicates <TResult> .None, this._loggerProvider, (logger, ctx, delegateResult) => this._logAction(logger, ctx, delegateResult.Exception), cancellationToken)); }
/// <inheritdoc/> protected override TResult Implementation <TResult>(Func <Context, CancellationToken, TResult> action, Context context, CancellationToken cancellationToken) { return(LoggingEngine.Implementation( action, context, this.ExceptionPredicates, ResultPredicates <TResult> .None, this._loggerProvider, (logger, ctx, delegateResult) => this._logAction(logger, ctx, delegateResult.Exception) , cancellationToken)); }