nblumhardt / autofac-serilog-integration

Contextual logger injection for Autofac using Serilog
Apache License 2.0
70 stars 25 forks source link

Autofac 6 migration #39

Closed slim1305 closed 4 years ago

slim1305 commented 4 years ago

Hi,

The Autofac team did a lot of fundametal changes in version 6 (what's new). Specifically:

RegistrationBuilder.RegistrationData no longer exposes the configured ActivatedHandlers, ActivatingHandlers or PreparingHandlers, and IComponentRegistration no longer exposes Preparing, Activating or Activated events.

And current "autofac-serilog-integration" version (4.0) throw an exception, because they've removed a couple of used by you methods. Are you going to fix it soon ?

Thanks,

nblumhardt commented 4 years ago

Thanks for the note! No, I don't have any plans to update it, but help would be welcome if anyone is able to send a PR.