CloudTheWolf.DSharpPlus.Scaffolding.Logging
3.1.0.4
See the version list below for details.
dotnet add package CloudTheWolf.DSharpPlus.Scaffolding.Logging --version 3.1.0.4
NuGet\Install-Package CloudTheWolf.DSharpPlus.Scaffolding.Logging -Version 3.1.0.4
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Logging" Version="3.1.0.4" />
<PackageVersion Include="CloudTheWolf.DSharpPlus.Scaffolding.Logging" Version="3.1.0.4" />
<PackageReference Include="CloudTheWolf.DSharpPlus.Scaffolding.Logging" />
paket add CloudTheWolf.DSharpPlus.Scaffolding.Logging --version 3.1.0.4
#r "nuget: CloudTheWolf.DSharpPlus.Scaffolding.Logging, 3.1.0.4"
#:package CloudTheWolf.DSharpPlus.Scaffolding.Logging@3.1.0.4
#addin nuget:?package=CloudTheWolf.DSharpPlus.Scaffolding.Logging&version=3.1.0.4
#tool nuget:?package=CloudTheWolf.DSharpPlus.Scaffolding.Logging&version=3.1.0.4
CloudTheWolf.DSharpPlus.Scaffolding.Logging
Shared Serilog setup for CloudTheWolf.DSharpPlus.Scaffolding applications.
Initialize logging once, in the application entry point:
Logger.Initialize();
try
{
Logger.Log.LogInformation("Starting {Application}", "My worker");
}
finally
{
Logger.Shutdown();
}
Initialize configures the global Serilog logger and the
Microsoft.Extensions.Logging adapter to use the same pipeline. Consumers can
use Logger.Log, Logger.CreateLogger<T>(), Serilog.Log.Logger, or
Logger.Factory without creating competing logger instances.
Applications can add sinks or enrichers while retaining the defaults:
Logger.Initialize(configuration => configuration.WriteTo.File("logs/worker.log"));
Libraries and plugins should use the logger supplied by their host. They should
not call Initialize or Shutdown themselves.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Serilog (>= 4.3.0)
- Serilog.Extensions.Hosting (>= 10.0.0)
- Serilog.Extensions.Logging (>= 10.0.0)
- Serilog.Settings.Configuration (>= 10.0.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Serilog.Sinks.File (>= 7.0.0)
- Serilog.Sinks.Grafana.Loki (>= 8.3.1)
- Serilog.Sinks.OpenSearch (>= 1.3.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CloudTheWolf.DSharpPlus.Scaffolding.Logging:
| Package | Downloads |
|---|---|
|
CloudTheWolf.DSharpPlus.Scaffolding.Shared
Shared Interfaces for CloudTheWolf.DSharpPlus.Scaffolding |
|
|
CloudTheWolf.DSharpPlus.Scaffolding.Data
Database System for CloudTheWolf.DSharpPlus.Scaffolding |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0.5 | 134 | 8/9/2026 |
| 3.1.0.4 | 79 | 8/9/2026 |
| 3.1.0.2 | 446 | 11/30/2025 |
| 3.0.0.8 | 362 | 11/12/2025 |
| 3.0.0.7 | 268 | 6/26/2025 |
| 3.0.0.6 | 278 | 6/1/2025 |
| 3.0.0.5 | 290 | 2/9/2025 |
| 3.0.0.3 | 308 | 8/3/2024 |
| 3.0.0.2 | 195 | 8/3/2024 |
| 3.0.0.1 | 212 | 8/3/2024 |
| 3.0.0 | 292 | 7/28/2024 |
| 2.1.0.4 | 375 | 4/12/2024 |
| 2.1.0.3 | 567 | 2/4/2024 |
| 2.1.0.2 | 362 | 2/4/2024 |
| 2.1.0.1 | 814 | 12/5/2023 |
| 2.0.0.2 | 2,354 | 10/19/2022 |
| 2.0.0 | 2,487 | 4/15/2022 |
| 1.0.1.9 | 1,123 | 11/1/2021 |
| 1.0.1.5 | 1,006 | 10/30/2021 |
| 1.0.1.2 | 1,012 | 10/30/2021 |