static void

ASP.Net Core Logging

See docs.asp.net

Nuget packages

Startup

Use

Unit Tests

In a test you will need to provide an ILogger<X>. Provide it with NullLogger<X>.Instance

var validator = new X(NullLogger<X>.Instance);