Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimizing calls to ResolveLogProvider() #140
There is no reason to perform the computation in ResolveLogProvider more than once. In this pull request, I cache the result of the computation of ResolveLogProvider using the Lazy<> class. If someone really wants to call this method again, he can call the internal variant named ForceResolveLogProvider.
See also this issue.