title: Using NLog in UserControl
body: <p>I'm  trying to use NLog for my WindowsFormsControlLibrary but it isn't work. Is there any way to provide logging in .exe application that uses my Control.dll?</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  
    &lt;!-- make sure to set 'Copy To Output Directory' option for this file --&gt;
    &lt;!-- go to http://nlog-project.org/wiki/Configuration_file for more information --&gt;
  
    &lt;targets&gt;
      &lt;target name="file" xsi:type="File" fileName="${basedir}/${shortdate}/file.txt"
       layout="${stacktrace} ${longdate} ${message}" /&gt;
    &lt;/targets&gt;
  
    &lt;rules&gt;
      &lt;logger name="*" minlevel="Trace" writeTo="file" /&gt;
    &lt;/rules&gt;
  &lt;/nlog&gt;
  </code></pre>