Skip to content

Structured Logging support by adding extension methods on Log4Net log object, JSON serialization by newtonsoft.json

Notifications You must be signed in to change notification settings

vndevpro/Logging.StructuredLog4Net

Repository files navigation

Logging.StructuredLog4Net

Logging.StructuredLog4Net on NuGet

To install on PM console:

Install-Package Logging.StructuredLog4Net

Usage

Add a using the namespace

using Logging.StructuredLog4Net'

Log as usual similarly to other standard Log4Net methods like:

Logger.Info("Starting", new { ... });

Logger.Error("Starting", new { ... }, ex);

About

Structured Logging support by adding extension methods on Log4Net log object, JSON serialization by newtonsoft.json

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published