Closed nblumhardt closed 6 months ago
Not too much to review here, I'll send this through as the current README's looking pretty outdated 😅
I think the comment in the sample is out of date, it still references UseSerilog()
.
Fixed, thanks @jcasale
Fixes #368
UseSerilog
is replaced withIServiceCollection.AddSerilog()
- this works withWebApplicationBuilder
andIHostApplicationBuilder
(generic host).writeToProviders
from the README as there are enough breadcrumbs out there for people to find if they really need this, it's only required in very rare and undesirable scenarios.Microsoft.AspNetCore
sources is no longer recommended; switched this for a handful of more targeted suppressions