Lurgle.Logging
1.2.8
See the version list below for details.
dotnet add package Lurgle.Logging --version 1.2.8
NuGet\Install-Package Lurgle.Logging -Version 1.2.8
<PackageReference Include="Lurgle.Logging" Version="1.2.8" />
paket add Lurgle.Logging --version 1.2.8
#r "nuget: Lurgle.Logging, 1.2.8"
// Install Lurgle.Logging as a Cake Addin #addin nuget:?package=Lurgle.Logging&version=1.2.8 // Install Lurgle.Logging as a Cake Tool #tool nuget:?package=Lurgle.Logging&version=1.2.8
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, Lurgle.Dates and Lurgle.Transfer to Lurgle your apps even further!
Keep an eye on my Blog of Doom for updates about the latest releases!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 is compatible. net462 was computed. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETCoreApp 3.1
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETFramework 4.5
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETFramework 4.6
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETFramework 4.6.1
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETFramework 4.7
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETFramework 4.8
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
.NETStandard 2.0
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
-
net5.0
- Microsoft.Windows.Compatibility (>= 5.0.2)
- Serilog (>= 2.10.0)
- Serilog.Enrichers.Environment (>= 2.2.0)
- Serilog.Enrichers.Memory (>= 1.0.4)
- Serilog.Enrichers.Process (>= 2.0.2)
- Serilog.Enrichers.Thread (>= 3.1.0)
- Serilog.Sinks.Console (>= 4.0.0)
- Serilog.Sinks.EventLog (>= 3.1.0)
- Serilog.Sinks.File (>= 5.0.0)
- Serilog.Sinks.Seq (>= 5.0.1)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Net.Http (>= 4.3.4)
- System.Runtime.Caching (>= 5.0.0)
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 |
---|---|---|
1.3.2 | 269 | 7/4/2023 |
1.3.1 | 183 | 7/1/2023 |
1.3.0 | 513 | 9/19/2022 |
1.2.12 | 498 | 8/14/2022 |
1.2.11 | 618 | 2/21/2022 |
1.2.10 | 578 | 2/3/2022 |
1.2.9 | 649 | 1/24/2022 |
1.2.8 | 376 | 10/12/2021 |
1.2.6 | 409 | 10/12/2021 |
1.2.4 | 416 | 8/15/2021 |
1.2.3 | 475 | 7/6/2021 |
1.2.2 | 387 | 7/6/2021 |
1.2.1 | 409 | 6/28/2021 |
1.2.0 | 446 | 6/27/2021 |
1.1.15 | 448 | 6/15/2021 |
1.1.14 | 401 | 6/13/2021 |
1.1.12 | 391 | 6/11/2021 |
1.1.11 | 443 | 6/8/2021 |
- 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
- Add SetTimestamp method to allow explicitly setting the log event time
- Add AddProperty parameter keepEmptyValue, default true, to allow optionally suppressing empty values