title: Logging. Missing method 'WriteWarning' exception
body: <p>I have created new ASP.NET vNext Project and add the following to Startup.cs</p>
  
  <pre><code>    public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
      {
          loggerFactory.AddConsole();
          // Add cookie-based authentication to the request pipeline
          app.UseCookieAuthentication(o =&gt;
          {
              o.AuthenticationType = CookieAuthenticationDefaults.AuthenticationType; 
              o.LoginPath = new PathString("/Account/Login");
          });
  
          app.UseMvc();
          app.UseWelcomePage();
  
          app.UseIdentity();
      }
  </code></pre>
  
  <p>and to project.json</p>
  
  <pre><code>"dependencies": {
      "Kestrel": "1.0.0-beta1",
      "Microsoft.AspNet.Server.IIS": "1.0.0-beta1",
      "Microsoft.Net.Http.Client": "1.0.0-*",
      "Microsoft.AspNet.Hosting": "1.0.0-beta1",
      "Microsoft.AspNet.Diagnostics": "1.0.0-beta1",
      "Microsoft.AspNet.Server.WebListener": "1.0.0-beta1",
  
      "Microsoft.Framework.Logging.Console": "1.0.0-beta1",
  
      "Microsoft.AspNet.Mvc": "6.0.0-beta1",
      "Microsoft.AspNet.Identity": "3.0.0-beta1",
      "Microsoft.AspNet.Security": "1.0.0-beta1",
      "Microsoft.AspNet.Security.Cookies": "1.0.0-*",
  },
  </code></pre>
  
  <p>On start I receive the following exception</p>
  
  <pre><code>System.MissingMethodException
  Method not found: 'Void Microsoft.Framework.Logging.LoggerExtensions.WriteWarning(Microsoft.Framework.Logging.ILogger, System.String)'.
  at Microsoft.AspNet.Security.Cookies.CookieAuthenticationHandler.&lt;AuthenticateCoreAsync&gt;d__1.MoveNext() 
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder&lt;TResult&gt;.Start&lt;TStateMachine&gt;(TStateMachine&amp; stateMachine) 
  at Microsoft.AspNet.Security.Cookies.CookieAuthenticationHandler.AuthenticateCoreAsync() 
  at System.Threading.LazyInitializer.EnsureInitializedCore&lt;T&gt;(T&amp; target, Boolean&amp; initialized, Object&amp; syncLock, Func&lt;T&gt; valueFactory) 
  at System.Threading.LazyInitializer.EnsureInitialized&lt;T&gt;(T&amp; target, Boolean&amp; initialized, Object&amp; syncLock, Func&lt;T&gt; valueFactory) 
  at Microsoft.AspNet.Security.Infrastructure.AuthenticationHandler.AuthenticateAsync() 
  at Microsoft.AspNet.Security.Infrastructure.AuthenticationHandler.&lt;BaseInitializeAsync&gt;d__1.MoveNext() 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
  at Microsoft.AspNet.Security.Infrastructure.AuthenticationMiddleware&lt;TOptions&gt;.&lt;Invoke&gt;d__1.MoveNext() 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
  at Microsoft.AspNet.Loader.IIS.KlrHttpApplication.&lt;ProcessRequestAsyncImpl&gt;d__1.MoveNext() 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
  at Microsoft.AspNet.Loader.IIS.HttpApplicationBase.&lt;InvokeProcessRequestAsyncImpl&gt;d__1.MoveNext()N
  </code></pre>
  
  <p>From other side, next line does not raise exception: 
      loggerFactory.Create("TestLogger").WriteWarning("some warning msg");</p>