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
I have a sample code here: https://github.com/pawelpabich/serilog-autofac-injectunsetproprties. I can't resolve the MyType object directly from the container. InjectUnsetProperties sets the Logger property but SourceContext does not seem to be populated. I will try to figure out why when I get some time.
The text was updated successfully, but these errors were encountered:
This is reliant on a feature added in Autofac 4 - will need to wait for that to RTM before this is possible.
I'll leave this ticket open as a reminder to verify.
Cheers!
nblumhardt
changed the title
SourceContext is not pupulated whtn InjectUnsetProperties is used.
SourceContext is not populated whtn InjectUnsetProperties is used.
May 30, 2016
Hi,
I have a sample code here: https://github.com/pawelpabich/serilog-autofac-injectunsetproprties. I can't resolve the MyType object directly from the container. InjectUnsetProperties sets the Logger property but SourceContext does not seem to be populated. I will try to figure out why when I get some time.
The text was updated successfully, but these errors were encountered: