Simple Logging For .NET and .NET Core NuGet Package

Chinchilla.Logging is a .NET Core port of cdmdotnet.Logging, an abstracted logging platform for .NET.

It can help you collect reliable logs for your application regardless of its size or complexity with minimal performance implications.

This logging library makes large use of enterprise correlation.
In a lot of applications that incorporate various small and large services, it is often important to correlate events that happen across these services. It gives us a business workflow view of the various events that happen in the application, its components and services.
This library provide operation and activity ID management and propagation.

The main difference with this library over other is that you can configure each type of log separately. You can enable fatal, error, warning, debugging, informational, progress and sensitive data logging all independently of each other.
This is more flexible than the concept of minimum level logging, such as that in log4net or serilog e.g. enabling one warning in this libraries will enable error and fatal logging as well.

This library allows you to set those settings independently of each other.

The SqlLogger maps AdditionalData to table columns, where the key of the dictionary entry is the column name and the value is serialised to JSON as the column value.
MetaData is serialised to a single JSON value stored in the MetaData column.
This means you can store data such as a User ID or Job ID in a separate column so you can filter more efficiently with indexes and partitions.

EventLogger, TraceLogger and ConsoleLogger both seralise and format all information into a single string.
The MultiLogger allows you to configure several different loggers to be used at once with different settings for each logger.

See https://github.com/cdmdotnet/logging/wiki/Quick-How-To for usage details.

This package installs Chinchilla.Logging.dll which includes core logging functionality. Other packages depend on Chinchilla.Logging for specific implementations.




Got any Simple Logging For .NET and .NET Core Question?





Info

Version: 5.2.45
Author(s): Chinchilla Software
Last Update: Saturday, October 19, 2024
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/cdmdotnet/logging/wiki/Quick-How-To
NuGet Url: https://www.nuget.org/packages/Chinchilla.Logging


Install
Install-Package Chinchilla.Logging
dotnet add package Chinchilla.Logging
paket add Chinchilla.Logging
Chinchilla.Logging Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0 .NETStandard 2.0 netcoreapp3.0 15 packages depend on this package.


Tags



STATS

must-have-score

2.8

avg-downloads-per-day

221

days-since-last-release

33