How can I setup log4net to write to the Output window of MsTest?
The only function I’ve been able to output to that window with is TestContext.WriteLine, but I do not know if there is an appender that can do that. Trace and Console outputs do not work.
How can I setup log4net to write to the Output window of MsTest? The
Share
I created a custom appender that I could pass the TestContext to, and use the WriteLine method on that for logging.