SerilogSinksInMemory
SerilogSinksInMemory copied to clipboard
In-memory sink for Serilog to use for testing
fixes #32
Ok but the RenderMessage therefore can not be configured, and the extension method includes this option but in the code is simply not used which is misleading. _Originally posted by...
It is not mentioned in the README.md that InMemorySink.Instance is actually AsyncLocal which is quite important piece of information. I thought that InMemorySink.Instance is buggy when it was not behaving...
**suggestion:** ```csharp var data = new Exception("Example error exception"); _logger.Information(data, "Example error"); InMemorySink.Instance .Should() .HaveMessage("Example error with sensitive data") .WithException(data) // assertions //
We would like to create a thread-safe InMemorySink for the use in our projects. At the moment, when we make a few parallel async calls, the logger does not have...
I have a plugin architecture where a half dozen plugins correctly find InMemorySink.Instance containing log entries...as expected. However, I have one plugin that uses the exact same code...but InMemorySink.Instance is...
Hi, I try to use from a controller but `InMemorySink.Instance.LogEvents` seems always empty, does I need to configure any DI? Regards
Hello, I am happy to find this library fit for my testing requirements, however, I first installed a version 1.0.0 from nuget.org via Visual Studio. It has a date published...
Hi, I have been working on a similar project until I realized this existed :) I want to bring a few points though, that I planned to implement on my...