A ILogDispatcher implementation designed to be used in testing. This replaces the LogAssert approach with a more specialised one.
- The expected usage is to use EnterExpectingScope() with a using block. This methods returns a Disposable object which you can mark logs as expected. When the object is disposed - it will assert against any logs.
Updated about a year ago