Created
January 14, 2019 09:01
-
-
Save Dalesjo/6b5c2c169e628eb7b690a965a815b7b4 to your computer and use it in GitHub Desktop.
Nlog dateformat
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
<!-- | |
Format date nlog | |
https://github.com/NLog/NLog/issues/1199 | |
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm | |
https://github.com/nlog/NLog/wiki/Date-Layout-Renderer | |
--> | |
<variable name="fmt" value="${longdate} | ${level} | ${logger} | ${day} | ${month} | ${message}"/> | |
<target name="logconsole" xsi:type="Console" layout="${fmt}" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment