private TestCaptureLogger GetLogger()
{
var result = new TestCaptureLogger<object>();
return result;
}
Cannot implicitly convert type 'Stravaig.Extensions.Logging.Diagnostics.TestCaptureLogger' to 'Stravaig.Extensions.Logging.Diagnostics.TestCaptureLogger'
- Could this be implicitly cast and have the underlying logger returned instead?
- Should an explicit cast be required instead?
- Or a method to get the underlying logger.