Logging API changes

This commit is contained in:
Brennan 2015-03-04 17:05:50 -08:00
parent 2af7332667
commit 5655751d84
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ namespace Microsoft.AspNet.Hosting
} }
catch (Exception ex) catch (Exception ex)
{ {
var logger = loggerFactory.Create<Program>(); var logger = loggerFactory.CreateLogger<Program>();
logger.WriteError("Dispose threw an exception.", ex); logger.LogError("Dispose threw an exception.", ex);
} }
shutdownHandle.Set(); shutdownHandle.Set();
}); });