Logging API changes
This commit is contained in:
parent
2af7332667
commit
5655751d84
|
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue