![]() |
VOOZH | about |
dotnet add package AspNet.Module.Logging --version 3.0.1
NuGet\Install-Package AspNet.Module.Logging -Version 3.0.1
<PackageReference Include="AspNet.Module.Logging" Version="3.0.1" />
<PackageVersion Include="AspNet.Module.Logging" Version="3.0.1" />Directory.Packages.props
<PackageReference Include="AspNet.Module.Logging" />Project file
paket add AspNet.Module.Logging --version 3.0.1
#r "nuget: AspNet.Module.Logging, 3.0.1"
#:package AspNet.Module.Logging@3.0.1
#addin nuget:?package=AspNet.Module.Logging&version=3.0.1Install as a Cake Addin
#tool nuget:?package=AspNet.Module.Logging&version=3.0.1Install as a Cake Tool
Logging module that replaces the default ASP.NET logger with Serilog.
dotnet add package AspNet.Module.Logging
Logging can be configured through appsettings.json or environment variables.
{
"Serilog": {
"MinimumLevel": "Verbose",
"ServiceName": "Service name for Elastic",
"Sinks": {
"Elasticsearch": {
"Url": "Elastic URL",
"TemplateVersion": 7
}
}
}
}
using AspNet.Module.Logging;
var builder = AspNetWebApplication.CreateBuilder(args);
builder.RegisterModule<LoggingModule>();
var app = builder.Build();
await app.RunWithLogging();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on AspNet.Module.Logging:
| Package | Downloads |
|---|---|
|
AspNet.Module.Migrator
Package Description |
This package is not used by any popular GitHub repositories.