I’m using NLog in C#. I would like to use Nlog to log on production and display my console (terminal) on local development.
<logger name="*" minlevel="Trace" writeTo="console" enabled="true" />
The console target is described on
https://nlog-project.org/config/?tab=targets
https://github.com/NLog/NLog/wiki/Console-target
My logging system is working fine but one feature is still not resolved for me. When working on my local environment, I would like to pause the console after logging an error. Right now, the system log all on my console but when I have an exception, I don’t have time to read it.
Is it possible, when I log a level exception or error to pause the console? Of course, only for development environment when console log is activated.
1