Rider 2020.2 how to show NLog output?

I use NLog 4.7.5, NLog.Config 4.7.5 and NLog.Schema 4.7.5 in my C# WPF project.

In the NLog.config file are two targets

<target name="logfile"
layout="${date:format=yyyy-MM-dd HH\:mm\:ss.fff} ${level:uppercase=true:padding=5} ${processid:padding=5} --- [${processname:padding=15}] ${logger:padding=-40} : ${message}${onexception:${newline}${exception:format=ToString,Properties,Data}}"
<target xsi:type="ColoredConsole" name="console" encoding="UTF-8" errorStream="true"
layout="${date:format=yyyy-MM-dd HH\:mm\:ss.fff} ${level:uppercase=true:padding=5} ${processid:padding=5} --- [${processname:padding=15}] ${logger:padding=-40} : ${message}${onexception:${newline}${exception:format=ToString,Properties,Data}}"/>

and also two rules

<logger name="*" minlevel="Debug" writeTo="logfile"/>
<logger name="*" minlevel="Debug" writeTo="console" />

But I don't see my application logs in Rider neither in the Debug Output nor in the Console.

Any hint how to see live outputs in Rider and not only by opening the file in another tool?

1 comment
Comment actions Permalink


Could you please share a simple repro solution?


Please sign in to leave a comment.