Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

nlog linux folder

<target xsi:type="File" name="allfile" fileName="${basedir}/logs/all-${shortdate}.log"
            layout="${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${logger}|${message} ${exception:format=tostring}" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nlog #linux #folder
ADD COMMENT
Topic
Name
7+8 =