JbsnLogger 1.0.1
See the version list below for details.
dotnet add package JbsnLogger --version 1.0.1
NuGet\Install-Package JbsnLogger -Version 1.0.1
<PackageReference Include="JbsnLogger" Version="1.0.1" />
paket add JbsnLogger --version 1.0.1
#r "nuget: JbsnLogger, 1.0.1"
// Install JbsnLogger as a Cake Addin #addin nuget:?package=JbsnLogger&version=1.0.1 // Install JbsnLogger as a Cake Tool #tool nuget:?package=JbsnLogger&version=1.0.1
What is Logger?
Logger is a solution for you to save error logs or information from your application.
How do I get started?
First, you need to create an application key to save the logs, visit https://jbsn-logger.vercel.app
Then you can use the initialize method to enter your key:
Logger.Initialize("186a788f-9ee9-46e1-a6ca-9fa960df5a17");
Then you can use the LogError or LogInfo methods to log your application:
Logger.Log(LogLevel.Error, "/api/...", ex, Guid.NewGuid()); // Generic log
Logger.LogError("/api/...", ex, Guid.NewGuid()); // Log error
Logger.LogInfo("/api/...", null, Guid.NewGuid()); // Log info
It is possible to report an error message or an exception, in which case it will be logged as a text
For structured logs, enter your message and eventId, or exception and eventId.
The maximum character limit for a message is 8,000.
Where can I get it?
First, install NuGet. Then, install AutoMapper from the package manager console:
PM> Install-Package JbsnLogger
Or from the .NET CLI as:
dotnet add package JbsnLogger
License, etc.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.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.1.3 | 245 | 12/16/2023 | |
1.1.2 | 117 | 12/16/2023 | |
1.1.1 | 124 | 12/10/2023 | |
1.1.0 | 112 | 12/10/2023 | |
1.0.16 | 114 | 12/10/2023 | |
1.0.15 | 119 | 12/10/2023 | |
1.0.14 | 121 | 12/10/2023 | |
1.0.13 | 129 | 12/10/2023 | |
1.0.12 | 119 | 12/10/2023 | |
1.0.11 | 111 | 12/10/2023 | |
1.0.10 | 117 | 12/10/2023 | |
1.0.9 | 124 | 12/10/2023 | |
1.0.8 | 115 | 12/10/2023 | |
1.0.7 | 126 | 12/10/2023 | |
1.0.6 | 125 | 12/10/2023 | |
1.0.5 | 118 | 12/10/2023 | |
1.0.4 | 131 | 12/10/2023 | |
1.0.3 | 115 | 12/10/2023 | |
1.0.2 | 129 | 12/10/2023 | |
1.0.1 | 102 | 12/10/2023 | |
1.0.0 | 142 | 12/5/2023 | |
0.0.2 | 139 | 12/5/2023 | |
0.0.1 | 117 | 12/5/2023 |