Serilog integration for ASP.NET Core
AssemblyVersionAttribute
(@nblumhardt)The obsolete UseSerilog()
extension on IWebHostBuilder
has been removed. Switch to either IHostBuilder.UseSerilog()
or IServiceCollection.AddSerilog()
instead.
.ConfigureServices(services => services.AddSerilog())
GetMessageTemplateProperties
option (@dnperfors)RequestLoggingOptions.IncludeQueryInRequestPath
option (@jarronshih)IWebHostBuilder
extensions as obsolete on platforms with IHostBuilder
; further dependency updates (@nblumhardt)netcoreapp3.1
and higherCreateBootstrapLogger()
on supported platforms (@nblumhardt)ILogger
through RequestLoggingOptions
(@nblumhardt)WebApplicationFactory
(@rsantosdev)IServiceProvider
within UseSerilog()
callback (@nblumhardt)RequestLoggingOptions
configuration outside of Configure(IApplicationBuilder)
(@skomis-mm)