/
Troubleshoot
Troubleshoot
If something is not working as expected, we'd be pleased to get a notice from you.
Even more so with a log attached.
Activate the logger
The library uses an NLog logger which is configured through a configuration file.
Use one of the configuration file locations listed here.
On Windows, you may use the file attached.
To use it on Linux and MacO, change the fileName, that is to say, use the path separator "/".
Furtermore, make sure that the path to the log file to exists.
and that your application has permissions to write to it.
NLog.config
<?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" throwConfigExceptions="true"> <!-- see https://github.com/NLog/NLog/wiki/Configuration-file --> <variable name="logFolder" value="C:\\temp" /> <targets> <target name="logfile" xsi:type="File" fileName="${logFolder}\\log.txt" archiveFileName="${logFolder}\\log_${shortdate}.txt" archiveOldFileOnStartup="true" maxArchiveDays="3" layout="${longdate}|${level:uppercase=true}|${environment-user}|${threadid}|${callsite}|${message}|${exception:format=tostring}" header="user = ${environment:USERNAME}, arch = ${environment:PROCESSOR_ARCHITECTURE}" footer="_______________ "/> </targets> <rules> <logger name="*" minlevel="Debug" writeTo="logfile" /> </rules> </nlog>
, multiple selections available,
Related content
9. Troubleshooting
9. Troubleshooting
More like this
Troubleshooting
Troubleshooting
More like this
03. The pad's front LED flashes very fast in green
03. The pad's front LED flashes very fast in green
More like this
Solución de problemas (Español)
Solución de problemas (Español)
More like this
9. Troubleshooting
9. Troubleshooting
More like this
9.Troubleshooting
9.Troubleshooting
More like this