Created
April 24, 2019 02:50
-
-
Save darkmfj/a24be0d99ce050bdad506a10a22c4d68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8" ?> | |
| <!-- | |
| This file needs to be put in the application directory. Make sure to set | |
| 'Copy to Output Directory' option in Visual Studio. | |
| --> | |
| <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true"> | |
| <targets> | |
| <target name="file" xsi:type="File" fileName="${basedir}/App_Data/Logs/${shortdate}/${logger}.log" /> | |
| </targets> | |
| <rules> | |
| <logger name="*" minlevel="Debug" writeTo="file" /> | |
| </rules> | |
| </nlog> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment