title: nlog: not working arguments for methods
body: <p>I wrote the following code:</p>
  
  <pre><code>public class Log
  {
      public static  void Info(string message, int arg)
      {
           Logger.Info(message, arg);                
      }
  }
  public class Task
  {
      public void StartTask()
      {
          var i =10;
          Log.Info(" i = ", i);
      }
  }
  </code></pre>
  
  <p>But in the log file contains:</p>
  
  <pre><code>2012-09-17 10:41:00.0789 | Info | i= 
  </code></pre>
  
  <p>This is config file:</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" throwExceptions="true"&gt;
  
    &lt;targets&gt;
      &lt;target name="logfile" xsi:type="File" fileName="C:\KazbiletLog.txt" layout="${longdate} | ${level} | ${message} ${exception:format=ToString,StackTrace}${newline}" /&gt;
    &lt;/targets&gt;
  
    &lt;rules&gt;
      &lt;logger name="*" minlevel="Info" writeTo="logfile" /&gt;
    &lt;/rules&gt;
  &lt;/nlog&gt;
  </code></pre>