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.

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 for usage details.

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

Install-Package Chinchilla.Logging -Version
dotnet add package Chinchilla.Logging --version
<PackageReference Include="Chinchilla.Logging" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Chinchilla.Logging --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 4.1.0

* Added additional Support for .NET Standard 2.0.

Version 4.0.0

* Added .NET Core 3.0 support.

Breaking Changes

* Removed Performance Trackers

Version 1.2.104

* Added support for IContainerLoggerSettings, an interface that allows container based settings at a very granular level.

Showing the top 1 GitHub repositories that depend on Chinchilla.Logging:

Repository Stars
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated 252 11/25/2019 66 11/24/2019 54 11/24/2019 78 11/24/2019 56 11/23/2019 149 11/22/2019 61 11/19/2019