You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Following the announcement about the breaking changes in logging for 2.0, I noticed that we were losing the ability to add logging providers in Startup.Configure. I posted the question in the discussion issue and it was later confirmed by @davidfowl.
Following the announcement about the breaking changes in logging for 2.0, I noticed that we were losing the ability to add logging providers in
Startup.Configure
. I posted the question in the discussion issue and it was later confirmed by @davidfowl.Before I was able to configure serilog as such:
Note how the
WebEnricher
depends on theIHttpContextAccessor
. With the new style of configuring logging, we do not have access to DI.The text was updated successfully, but these errors were encountered: