LlamaLogger.Core 24.1.3

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package LlamaLogger.Core --version 24.1.3                
NuGet\Install-Package LlamaLogger.Core -Version 24.1.3                
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.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LlamaLogger.Core --version 24.1.3                
#r "nuget: LlamaLogger.Core, 24.1.3"                
#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.3

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

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 (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 63 6/27/2024
24.1.3 558 6/26/2024
24.1.2 178 5/17/2024
24.1.1 452 2/14/2024
23.2.3.5 350 1/30/2024
23.2.3.4 83 1/25/2024
23.2.3.3 124 1/18/2024
23.2.3.2 117 1/17/2024
23.2.3.1 114 1/16/2024
23.2.1.1-alpha-23255 398 9/19/2023
23.1.5.1 1,448 9/18/2023
23.1.4.1 1,033 7/27/2023
23.1.3.1 786 6/14/2023
23.1.2.2-beta 740 5/31/2023
23.1.2.1-pre-23080 696 5/11/2023
23.1.2.1-beta 686 5/24/2023
22.2.6 793 5/1/2023
22.2.5 849 4/5/2023
22.2.4 954 1/29/2023
22.2.3.2 978 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 985 12/19/2022
22.1.6.6 1,082 11/23/2022
22.1.6.5 1,073 11/17/2022
22.1.6.3 1,024 11/15/2022
22.1.6.2 1,138 11/15/2022