LlamaLogger.Core
24.2.1-pre.1
dotnet add package LlamaLogger.Core --version 24.2.1-pre.1
NuGet\Install-Package LlamaLogger.Core -Version 24.2.1-pre.1
<PackageReference Include="LlamaLogger.Core" Version="24.2.1-pre.1" />
paket add LlamaLogger.Core --version 24.2.1-pre.1
#r "nuget: LlamaLogger.Core, 24.2.1-pre.1"
// Install LlamaLogger.Core as a Cake Addin #addin nuget:?package=LlamaLogger.Core&version=24.2.1-pre.1&prerelease // Install LlamaLogger.Core as a Cake Tool #tool nuget:?package=LlamaLogger.Core&version=24.2.1-pre.1&prerelease
Welcome to Llama Logger
Using only a few lines of code, you can start tracking and managing your exceptions online. All of your exceptions will be accessible in one place with the option to receive email notifications when new exceptions arrive.
Go to www.llamalogger.com to get started.
Getting Started
- Create your account at www.llamalogger.com
- Log in and create a new project
- Copy your project's API key
- Add the LlamaLogger.Core NuGet package to your .Net solution
- Create a LlamaLoggerClient instance and you're ready to go!
using LlamaLogger.Core;
string apikey = "<project API key>"; //Your project API key from your Llama Logger account
string version = "1.0"; //Your application's version number
LlamaLoggerClient logger = new LlamaLoggerClient(apikey, version);
try
{
throw new InvalidOperationException("Oops!");
}
catch(Exception ex)
{
logger.LogError(ex);
}
logger.FlushQueue(10000);
//Before you exit your application, flush the queue (in this case, up to 10 seconds)
Customize Log Entries
You can customize log entries before they are sent to the server by adding custom data and attachments.
Global Customization
LlamaLoggerClient client = new LlamaLoggerClient(apikey, version);
client.AddCustomData("Server", "Server001"); //This data will be included with every exception
Exception Specific Customization
LlamaLoggerClient client = new LlamaLoggerClient(apikey, version);
client.CustomizeLogEntry += Client_CustomizeLogEntry;
void Client_CustomizeLogEntry(object? sender,
LlamaLogger.Core.CustomEventArgs.CustomizeLogEntryEventArgs e)
{
e.LogEntry.AddCustomData("UserName", "Administrator");
e.LogEntry.AddCustomData("IP Address", "99.88.77.66");
byte[] screenshot = GetScreenshotData(); //Get an array of data
e.LogEntry.AddAttachment("Screenshot.png", screenshot);
}
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 is compatible. 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 Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5.2
- Newtonsoft.Json (>= 13.0.3)
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on LlamaLogger.Core:
Package | Downloads |
---|---|
LlamachantFramework.LlamaLogger
eXpressApp Framework (XAF) module for easy integration of cloud based exception logging through www.llamalogger.com |
|
Serilog.Sinks.LlamaLogger
Serilog integration for cloud based exception logging through www.llamalogger.com |
|
LlamaLogger.Microsoft.Extensions.Logging
Microsoft.Extensions.Logging integration for cloud based exception logging through www.llamalogger.com |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.2.1-pre.1 | 67 | 6/27/2024 |
24.1.3 | 660 | 6/26/2024 |
24.1.2 | 179 | 5/17/2024 |
24.1.1 | 452 | 2/14/2024 |
23.2.3.5 | 351 | 1/30/2024 |
23.2.3.4 | 84 | 1/25/2024 |
23.2.3.3 | 125 | 1/18/2024 |
23.2.3.2 | 118 | 1/17/2024 |
23.2.3.1 | 115 | 1/16/2024 |
23.2.1.1-alpha-23255 | 399 | 9/19/2023 |
23.1.5.1 | 1,449 | 9/18/2023 |
23.1.4.1 | 1,034 | 7/27/2023 |
23.1.3.1 | 788 | 6/14/2023 |
23.1.2.2-beta | 741 | 5/31/2023 |
23.1.2.1-pre-23080 | 697 | 5/11/2023 |
23.1.2.1-beta | 687 | 5/24/2023 |
22.2.6 | 794 | 5/1/2023 |
22.2.5 | 850 | 4/5/2023 |
22.2.4 | 955 | 1/29/2023 |
22.2.3.2 | 979 | 12/19/2022 |
22.2.3.1 | 1,019 | 12/13/2022 |
22.2.2.8-beta | 668 | 11/30/2022 |
22.1.6.8 | 1,029 | 12/21/2022 |
22.1.6.7 | 986 | 12/19/2022 |
22.1.6.6 | 1,083 | 11/23/2022 |
22.1.6.5 | 1,074 | 11/17/2022 |
22.1.6.3 | 1,025 | 11/15/2022 |
22.1.6.2 | 1,138 | 11/15/2022 |