I use the NUnit runner to run my tests and in situations where the tests pass on my dev machine but fail on TeamCity it would be very convenient to be able to log some additional information during test execution and have it captured in the Build Log. However, I seem to be missing something as none of the following ways worked for me:
1) Trace.WriteLine(...) in tests
2) log4net logger configured with a "TRACE" appender
None of these get captured in the Build Log.
Is there a way to do it?