Logging API changes

This commit is contained in:
Brennan 2015-03-04 17:05:50 -08:00
parent 7adf11b7bc
commit 02ed770353
1 changed files with 2 additions and 2 deletions

View File

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