VOOZH about

URL: https://www.nuget.org/packages/EngineBay.Logging/

⇱ NuGet Gallery | EngineBay.Logging 3.1.4




EngineBay.Logging 3.1.4

dotnet add package EngineBay.Logging --version 3.1.4
 
 
NuGet\Install-Package EngineBay.Logging -Version 3.1.4
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EngineBay.Logging" Version="3.1.4" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EngineBay.Logging" Version="3.1.4" />
 
Directory.Packages.props
<PackageReference Include="EngineBay.Logging" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EngineBay.Logging --version 3.1.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EngineBay.Logging, 3.1.4"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EngineBay.Logging@3.1.4
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EngineBay.Logging&version=3.1.4
 
Install as a Cake Addin
#tool nuget:?package=EngineBay.Logging&version=3.1.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

EngineBay.Logging

👁 NuGet version
👁 Maintainability
👁 Test Coverage

Logging module for EngineBay published to EngineBay.Logging on NuGet.

About

The adds a logging service to the service collection, with a configurable logging level. Some filters are applied, giving "noisy systems" (e.g. Microsoft, Microsoft.AspNetCore.DataProtection, and System) a log level one higher so that the EngineBay's log level can be set to something lower without being drowned out by logs from these libraries.

The module also contains a that exposes two static methods which provide appropriate values based on the environment variables LOGGING_SENSITIVE_DATA_ENABLED and LOGGING_LEVEL.

Usage

ILogger<T> logger can be dependency injected, where T is the type whose name is used for the logger category name. This logger can be used to log messages at different logging levels.

You may wish to build extensions, such as EngineBay.Authentication's LoggerExtensions, if you have common log messages you wish to reuse.

Registration

This module cannot run on its own. You will need to register it in your application to use its functionality. See the Demo API registration guide.

Environment Variables

See the Documentation Portal.

Dependencies

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.4 450 1/10/2024
3.1.3 907 12/19/2023
3.1.2 936 12/6/2023
3.1.1 656 11/23/2023
3.1.0 240 11/23/2023
3.0.0 313 11/23/2023
2.0.3 1,807 10/31/2023
2.0.2 221 10/31/2023
2.0.1 278 10/10/2023
2.0.0 1,426 9/28/2023
1.0.2 250 9/27/2023
1.0.1 319 9/24/2023
1.0.0 840 9/23/2023
0.2.4 230 9/21/2023
0.2.3 2,125 4/9/2023
0.2.2 967 4/2/2023
0.2.1 1,847 3/29/2023
0.1.1 361 3/26/2023
0.1.0 355 3/26/2023