I was looking over some of the best practices for NLog when I noticed following target configuration:
<targets async="true">
<default-wrapper xsi:type="BufferingWrapper" bufferSize="100"/>
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log" layout="${longdate} ${uppercase:${level}} ${message}" />
<!-- other stuff -->
</targets>
From what I understand this wraps the file target with AsyncWrapper as well as with BufferingWrapper...
What is the difference between the two? Do I need both, since NLog site describes both as "buffering"....