Serilog.AspNetCore
Serilog support for ASP.NET Core logging
Total Downloads
778.3M
778,308,415
Published
Feb 17, 2021
Latest stable version
Install
.NET CLI
dotnet add package Serilog.AspNetCore --version 4.0.0-dev-00198
Package Manager Console
Install-Package Serilog.AspNetCore -Version 4.0.0-dev-00198
PackageReference
<PackageReference Include="Serilog.AspNetCore" Version="4.0.0-dev-00198" />
Frameworks
Dependencies
Microsoft.AspNetCore.Hosting.Abstractions
[2.2.0, )
.NETStandard2.1
Microsoft.Extensions.DependencyInjection
[3.1.8, )
.NETStandard2.1
Microsoft.Extensions.Logging
[3.1.8, )
.NETStandard2.1
Serilog
[2.10.0, )
.NETStandard2.1
Serilog.Extensions.Hosting
[4.0.0, )
.NETStandard2.1
Serilog.Formatting.Compact
[1.1.0, )
.NETStandard2.1
Serilog.Settings.Configuration
[3.1.0, )
.NETStandard2.1
Serilog.Sinks.Console
[3.1.1, )
.NETStandard2.1
Serilog.Sinks.Debug
[2.0.0, )
.NETStandard2.1
Serilog.Sinks.File
[4.1.0, )
.NETStandard2.1
Adoption guide
Teams that need rich structured event properties and deliberate control over log destinations.
Why it appears in the guide: Serilog integration for ASP.NET Core, centred on structured events and a large sink ecosystem. Trade-off: The desired sinks and configuration need to be selected and operated explicitly.
This version is marked prerelease. Validate its API and upgrade path before production use.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.