Lurgle.Logging 1.2.4

Log library that accelerates getting projects up and running with Serilog. Log to Console, File, Event Log, and Seq!

Install-Package Lurgle.Logging -Version 1.2.4
dotnet add package Lurgle.Logging --version 1.2.4
<PackageReference Include="Lurgle.Logging" Version="1.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lurgle.Logging --version 1.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lurgle.Logging, 1.2.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lurgle.Logging as a Cake Addin
#addin nuget:?package=Lurgle.Logging&version=1.2.4

// Install Lurgle.Logging as a Cake Tool
#tool nuget:?package=Lurgle.Logging&version=1.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Why log when you can Lurgle?

Lurgle.Logging is an implementation of Serilog that accelerates getting your project up and running with logging. It bundles a number of enrichers (Environment, Memory, Process, and Thread) and sinks (Console, EventLog, File, and Seq) together, and adds bonuses like property masking and correlation id pass through/generation.

The net effect is a predictable logging implementation with good base structured properties that can be further extended as common properties or per-event properties, roughly equivalent to Enrich.WithProperty and ForContext respectively.

You can use Lurgle.Logging by itself, or with Lurgle.Alerting to Lurgle your apps even further with a standardised FluentEmail implementation!

Keep an eye on my Blog of Doom for updates about the latest releases!

Why log when you can Lurgle?

Lurgle.Logging is an implementation of Serilog that accelerates getting your project up and running with logging. It bundles a number of enrichers (Environment, Memory, Process, and Thread) and sinks (Console, EventLog, File, and Seq) together, and adds bonuses like property masking and correlation id pass through/generation.

The net effect is a predictable logging implementation with good base structured properties that can be further extended as common properties or per-event properties, roughly equivalent to Enrich.WithProperty and ForContext respectively.

You can use Lurgle.Logging by itself, or with Lurgle.Alerting to Lurgle your apps even further with a standardised FluentEmail implementation!

Keep an eye on my Blog of Doom for updates about the latest releases!

Release Notes

- Add data masking functionality
- Create a correlationid if one is not passed, provide functionality to switch correlationids
- Update icons
- Ensure correlationId can be passed by concurrent threads
- Fix incorrect reference for LogDays
- Code refactor
- Add LogConfig constructor for passing config and optional overrides
- Add method to resolve a ConsoleThemeType
- Add ability to disable Initialising event with LogWriteInit
- Correct default log filename to match AppName
- Log.Add correctly passes calling method
- Fallback LogFolder correctly resolves assembly folder name
- Per-thread correlation ids added with cache that expires after a configurable period
- Unit tests added
- Add extensive set of new log patterns
- Add destructuring of properties
- Add masking of destructured properties - credit to https://github.com/evjenio/masking.serilog for approach!
- Add optional proxy settings for Serilog.Sinks.Seq
- Amend logic for explicit levels - remove log templates with arguments from static voids

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.4 92 8/15/2021
1.2.3 107 7/6/2021
1.2.2 79 7/6/2021
1.2.1 108 6/28/2021
1.2.0 122 6/27/2021
1.1.15 131 6/15/2021
1.1.14 93 6/13/2021
1.1.12 88 6/11/2021
1.1.11 118 6/8/2021