CasCap.Common.Logging
4.8.1
Prefix Reserved
dotnet add package CasCap.Common.Logging --version 4.8.1
NuGet\Install-Package CasCap.Common.Logging -Version 4.8.1
<PackageReference Include="CasCap.Common.Logging" Version="4.8.1" />
<PackageVersion Include="CasCap.Common.Logging" Version="4.8.1" />
<PackageReference Include="CasCap.Common.Logging" />
paket add CasCap.Common.Logging --version 4.8.1
#r "nuget: CasCap.Common.Logging, 4.8.1"
#:package CasCap.Common.Logging@4.8.1
#addin nuget:?package=CasCap.Common.Logging&version=4.8.1
#tool nuget:?package=CasCap.Common.Logging&version=4.8.1
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.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Console (>= 10.0.5)
- Microsoft.Extensions.Logging.Debug (>= 10.0.5)
-
net10.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Console (>= 10.0.5)
- Microsoft.Extensions.Logging.Debug (>= 10.0.5)
-
net8.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Console (>= 10.0.5)
- Microsoft.Extensions.Logging.Debug (>= 10.0.5)
-
net9.0
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Logging.Console (>= 10.0.5)
- Microsoft.Extensions.Logging.Debug (>= 10.0.5)
NuGet packages (25)
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.8.1 | 59 | 4/2/2026 |
| 4.8.0 | 266 | 4/1/2026 |
| 4.7.1 | 747 | 3/13/2026 |
| 4.7.0 | 564 | 3/11/2026 |
| 4.6.0 | 739 | 2/12/2026 |
| 4.5.5 | 416 | 2/2/2026 |
| 4.5.4 | 849 | 1/25/2026 |
| 4.5.3 | 942 | 12/11/2025 |
| 4.5.1 | 2,166 | 11/12/2025 |
| 4.5.0 | 638 | 11/11/2025 |
| 4.4.0 | 623 | 11/1/2025 |
| 4.3.12 | 885 | 10/19/2025 |
| 4.3.11 | 614 | 10/10/2025 |
| 4.3.10 | 903 | 10/6/2025 |
| 4.3.9 | 763 | 9/30/2025 |
| 4.3.8 | 770 | 9/14/2025 |
| 4.3.7 | 1,387 | 8/13/2025 |
| 4.3.6 | 953 | 8/7/2025 |
| 4.3.5 | 854 | 7/9/2025 |
| 4.3.4 | 786 | 6/13/2025 |