| Start |
|---|
| Redirecting log output with TraceListeners You can redirect the debug output to a text file by adding a TextWriterTraceListener to the Debug.Listeners collection. You can redirect the debug output to a console application's out stream using a ConsoleTraceListener. |
| Debug.WriteLine Writes to the trace listeners in the Listeners collection when the application is compiled in debug configuration. In Visual Studio or Xamarin Studio this will appear in the Application Output window. This is due to the presence of the default trace listener (opens new window) in the TraceListenerCollection. |
Read Article
https://develop.horje.com/learn/1434/reference