.netdebuggingnlogdebugview

Nlog debugger target messages do not show in DebugView (but Debug.WriteLine do )


My program is a c# windows form app. I am running the exe outside of VS. Nlog debugger target messages do not show in DebugView, but direct Debug.WriteLine messages do. Both show up on VS output console when running app from inside VS.
Any idea? Thank you.


Solution

  • The Debugger-Target writes to System.Diagnostics.Debugger.Log - Posts a message for the attached debugger.

    The OutputDebugString-Target writes to OutputDebugString that can be monitored by DebugView (And friends)