Jeff.Jones.JLogger
1.0.1
This update also allows logging to a SQL Server database
See the version list below for details.
dotnet add package Jeff.Jones.JLogger --version 1.0.1
NuGet\Install-Package Jeff.Jones.JLogger -Version 1.0.1
<PackageReference Include="Jeff.Jones.JLogger" Version="1.0.1" />
paket add Jeff.Jones.JLogger --version 1.0.1
#r "nuget: Jeff.Jones.JLogger, 1.0.1"
// Install Jeff.Jones.JLogger as a Cake Addin #addin nuget:?package=Jeff.Jones.JLogger&version=1.0.1 // Install Jeff.Jones.JLogger as a Cake Tool #tool nuget:?package=Jeff.Jones.JLogger&version=1.0.1
Version 1.0.0 - Initial unsigned package. Version 1.0.1 - Signed package, no functionality of API changes.
Documentation - https://www.codeproject.com/Articles/5163318/JLogger-When-You-Care-to-Write-the-Very-Best
JLogger
Overview
JLogger is a singleton component as a .NET Standard 2.0 library component that can be used with any .NET project, whether Core or Standard, on any supported OS to access SQL Server.
JLogger has these characteristics:
- Multithreaded use – As a singleton, it is accessible from any thread, and uses locking techniques to ensure there are no collisions.
- High throughput – if the log is being used by many threads concurrently, the log writes do not stop the calling thread. JLogger uses a first-in, first-out (FIFO) queue where log writes are put in a queue and written to a file in a separate thread, concurrently in the background. The WriteDebugLog command takes the parameters, creates the log data, puts it in a queue. None of those steps are blocking.
- Send an Email – A debug log write can optionally send an email (SMTP configuration data required)
- Multiple Log Entry Types – there are several log entry types to choose from. What they each mean is up to the user writing the code. Some log types are reserved for the component, and would be ignored in processing the log entry. These are detailed in the README.md file.
- New Log File each Day – after midnight, a new log file is created so log files are named to show the date and time span the log was active.
- Log Retention – logs are automatically removed after the specified number of days, unless zero is specified, in which case no log files are deleted.
- Tab-delimited Log File – the log is written as a tab-delimited file. This enables opening up the file in programs like Excel for analysis.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. 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. |
-
.NETStandard 2.0
- Jeff.Jones.JHelpers (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
All requests for support must be sent by email to:
MSBassSinger@comcast.net
The email MUST havd "JLogger" in the Subject line
You MUST provide details that include code snippets of where the failure occured, and exact failure or exception messages.