Logging API changes
This commit is contained in:
parent
7adf11b7bc
commit
02ed770353
|
|
@ -65,8 +65,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();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue