title: How to get a usable ${callsite} using nlog and asp.net core rc2
body: <p>I'm using NLog with asp.net core rc2. ("NLog.Extensions.Logging": "1.0.0-rc2-final-2016-05-21") I'm having difficulty getting the location of the logging event using the ${callsite} tag in the layout.  I prefer this to typing it in the message because I want to render it to its own database column.</p>
  
  <p>My startup looks like this:</p>
  
  <pre><code>        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
      {
          loggerFactory.AddNLog();
          env.ConfigureNLog("NLog.config");
  </code></pre>
  
  <p>My NLog configuration:</p>
  
  <pre><code>&lt;target xsi:type="File" name="infolog" fileName="${basedir}/logs/info-${shortdate}.log"
          layout="${longdate}|${level}|${callsite:className=true:methodName=true}|${machinename}|${message}" /&gt;
  </code></pre>
  
  <p>called like this:</p>
  
  <pre><code>Logger.LogInformation("Information: User &gt; Get");
  </code></pre>
  
  <p>Alas, the output is always:</p>
  
  <pre><code>2016-06-20 16:00:03.4458|Info|Microsoft.Extensions.Logging.Logger.Log ...
  </code></pre>
  
  <p>Is there a way using the Microsoft logging extensions and NLog to get the class/method name where the log was written?</p>