datalust / seq-extensions-logging

Add centralized log collection to ASP.NET Core apps with one line of code.
https://datalust.co/seq
Apache License 2.0
86 stars 13 forks source link

Fixes #29, dispose not called when registered with LoggingBuilder #30

Closed nblumhardt closed 4 years ago

nblumhardt commented 4 years ago

Switches from LoggingBuilder.AddProvider()'s default non-disposing AddSingleton() overload, to the factory-method one which ensures the resulting provider is disposed when the service collection is.