Sign in Sign up
nuget

Serilog.Sinks.ListOfString

Serilog.Sinks.ListOfString logs to a list of string so you can test your logging : ``` var log= new List<String>(); var testLogger= new LoggerConfiguration().WriteTo.StringList(log).CreateLogger(); ...tests... log.ShouldContain( x=>x.Matches("kilroy was here") ); ``` This is for Serilog. For Microsoft.Extensions.Logging.Abstractions see also https://www.nuget.org/packages/Extensions.Logging.ListOfString/ Part of https://www.nuget.org/packages/TestBase *TestBase* gives you a flying start to unit testing with fluent assertions that are easy to extend, and tools for testing with dependencies on AspNetMvc, HttpClient, Ado.Net, Streams and Loggers.

Activity

Latest release
7y ago
Total releases
2
Cadence
~8 months
Last 12 months
0

Reach

Stars

Details

First release
Mar 23, 2018
Releases
Version Released
4.1.4.3 minor
4.0.8 initial