Passing an ILogger to Polly Policies

added by DotNetKicks
10/16/2018 1:05:19 PM

2 Kicks, 866 Views

In a previous post, I looked at how we could use the Polly context to obtain a retry count after policy execution. In this post, I want to explore a similar requirement that can also be solved by using the Polly context; this time to pass in an ILogger to be used for logging messages while executing a policy.


0 comments