Initial release containing VerifyExt
methods for the Moq
library that can be used to verify the ILogger
/ILogger<TCategoryName>
extension methods.
Limitations:
- It uses reflection to retrieve access to internal classes, interfaces and methods in the
Moq
andMicrosoft.Extensions.Logger.Abstractions
packages, new versions of these packages may break this library. If it does, try upgrading to latest version, if that still doesn't show the issue, report it as an issue. - On verification errors, the invoked list will not show the extension methods (it's simply not possible), it will show the base method invokes, but it should not be an issue find the verification issue.
Feel free to report issues in the Issues and feel free to use Discussions for questions.