LlamaLogger.Core 24.1.1

dotnet add package LlamaLogger.Core --version 24.1.1
NuGet\Install-Package LlamaLogger.Core -Version 24.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LlamaLogger.Core" Version="24.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LlamaLogger.Core --version 24.1.1
#r "nuget: LlamaLogger.Core, 24.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LlamaLogger.Core as a Cake Addin
#addin nuget:?package=LlamaLogger.Core&version=24.1.1

// Install LlamaLogger.Core as a Cake Tool
#tool nuget:?package=LlamaLogger.Core&version=24.1.1

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

  1. Create your account at www.llamalogger.com
  2. Log in and create a new project
  3. Copy your project's API key
  4. Add the LlamaLogger.Core NuGet package to your .Net solution
  5. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.1.1 299 2/14/2024
23.2.3.5 313 1/30/2024
23.2.3.4 74 1/25/2024
23.2.3.3 94 1/18/2024
23.2.3.2 89 1/17/2024
23.2.3.1 89 1/16/2024
23.2.1.1-alpha-23255 370 9/19/2023
23.1.5.1 1,364 9/18/2023
23.1.4.1 1,005 7/27/2023
23.1.3.1 749 6/14/2023
23.1.2.2-beta 704 5/31/2023
23.1.2.1-pre-23080 655 5/11/2023
23.1.2.1-beta 665 5/24/2023
22.2.6 754 5/1/2023
22.2.5 790 4/5/2023
22.2.4 917 1/29/2023
22.2.3.2 949 12/19/2022
22.2.3.1 977 12/13/2022
22.2.2.8-beta 634 11/30/2022
22.1.6.8 966 12/21/2022
22.1.6.7 948 12/19/2022
22.1.6.6 1,048 11/23/2022
22.1.6.5 1,037 11/17/2022
22.1.6.3 990 11/15/2022
22.1.6.2 1,069 11/15/2022