File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ InfoText("You have this many things: ")
256256
257257## Logging
258258
259- Any exceptions thrown by a command will be logged with NLog provided NLog is configured.
259+ Any exceptions thrown by a command will be logged provided NLog is configured to record errors .
260260The [ NLog configuration] ( https://github.com/NLog/NLog/wiki/Tutorial#configuration ) file needs to be setup with something like this:
261261
262262``` xml
@@ -265,13 +265,11 @@ The [NLog configuration](https://github.com/NLog/NLog/wiki/Tutorial#configuratio
265265 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
266266
267267 <targets >
268- <target name =" logfile" xsi : type =" File" fileName =" file.txt" />
269- <target name =" console" xsi : type =" Console" />
268+ <target name =" logfile" xsi : type =" File" fileName =" inengine.log" />
270269 </targets >
271270
272271 <rules >
273- <logger name =" *" minlevel =" Trace" writeTo =" logfile" />
274- <logger name =" *" minlevel =" Info" writeTo =" console" />
272+ <logger name =" *" minlevel =" Error" writeTo =" logfile" />
275273 </rules >
276274</nlog >
277275```
You can’t perform that action at this time.
0 commit comments