CasCap.Common.Logging
4.9.2
Prefix Reserved
dotnet add package CasCap.Common.Logging --version 4.9.2
NuGet\Install-Package CasCap.Common.Logging -Version 4.9.2
<PackageReference Include="CasCap.Common.Logging" Version="4.9.2" />
<PackageVersion Include="CasCap.Common.Logging" Version="4.9.2" />
<PackageReference Include="CasCap.Common.Logging" />
paket add CasCap.Common.Logging --version 4.9.2
#r "nuget: CasCap.Common.Logging, 4.9.2"
#:package CasCap.Common.Logging@4.9.2
#addin nuget:?package=CasCap.Common.Logging&version=4.9.2
#tool nuget:?package=CasCap.Common.Logging&version=4.9.2
CasCap.Common.Logging
Static logging abstraction via ApplicationLogging, providing a globally accessible ILoggerFactory for contexts where constructor injection is unavailable.
Purpose
Exposes a static ApplicationLogging class that holds an ILoggerFactory reference and CreateLogger convenience methods. An AddStaticLogging() extension on IServiceProvider wires the DI-registered factory into the static accessor at application startup.
Target frameworks: netstandard2.0, net8.0, net9.0, net10.0
Services
| Type | Description |
|---|---|
ApplicationLogging |
Static class exposing LoggerFactory property and CreateLogger<T>() / CreateLogger(string) methods |
Extensions
| Extension | Description |
|---|---|
ServiceProviderExtensions.AddStaticLogging() |
Assigns the DI ILoggerFactory to ApplicationLogging.LoggerFactory |
Dependencies
NuGet Packages
| Package |
|---|
| Microsoft.Extensions.Hosting.Abstractions |
| Microsoft.Extensions.Logging.Abstractions |
| Microsoft.Extensions.Logging.Console |
| Microsoft.Extensions.Logging.Debug |
This project has no project references.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Console (>= 10.0.6)
- Microsoft.Extensions.Logging.Debug (>= 10.0.6)
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Console (>= 10.0.6)
- Microsoft.Extensions.Logging.Debug (>= 10.0.6)
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Console (>= 10.0.6)
- Microsoft.Extensions.Logging.Debug (>= 10.0.6)
-
net9.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.Logging.Console (>= 10.0.6)
- Microsoft.Extensions.Logging.Debug (>= 10.0.6)
NuGet packages (26)
Showing the top 5 NuGet packages that depend on CasCap.Common.Logging:
| Package | Downloads |
|---|---|
|
CasCap.Common.Extensions
Helper library of commonly used extension methods. |
|
|
CasCap.Common.Net
Helper library for common HttpClient/WebAPI requirements. |
|
|
CasCap.Common.Caching
Helper library for local and remote object caching. |
|
|
CasCap.Common.Serialization.Json
System.Text.Json serialization helpers and custom JsonConverter implementations. |
|
|
CasCap.Common.Testing
xUnit test infrastructure — logging redirection via Serilog and conditional-skip attributes for CI environments. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.9.2 | 38 | 4/19/2026 |
| 4.9.1 | 83 | 4/17/2026 |
| 4.9.0 | 344 | 4/15/2026 |
| 4.8.1 | 521 | 4/2/2026 |
| 4.8.0 | 701 | 4/1/2026 |
| 4.7.1 | 773 | 3/13/2026 |
| 4.7.0 | 578 | 3/11/2026 |
| 4.6.0 | 749 | 2/12/2026 |
| 4.5.5 | 426 | 2/2/2026 |
| 4.5.4 | 860 | 1/25/2026 |
| 4.5.3 | 949 | 12/11/2025 |
| 4.5.1 | 2,221 | 11/12/2025 |
| 4.5.0 | 645 | 11/11/2025 |
| 4.4.0 | 631 | 11/1/2025 |
| 4.3.12 | 898 | 10/19/2025 |
| 4.3.11 | 626 | 10/10/2025 |
| 4.3.10 | 909 | 10/6/2025 |
| 4.3.9 | 771 | 9/30/2025 |
| 4.3.8 | 776 | 9/14/2025 |
| 4.3.7 | 1,394 | 8/13/2025 |