Attachments

Llama Logger allows you to include attachments with your exceptions (Standard subscription or higher required).
Attachments can be added per-exception and should be kept small as they count towards your monthly data transfer limit.

Attachments

Adding Attachments Per-Exception

Attachments provide additional context. Typically, this includes session specific data such as an audit log or a screenshot.

LlamaLoggerClient client = new LlamaLoggerClient(apikey, version);
client.CustomizeLogEntry += Client_CustomizeLogEntry;

void Client_CustomizeLogEntry(object? sender, LlamaLogger.Core.CustomEventArgs.CustomizeLogEntryEventArgs e)
{
    byte[] screenshot = GetScreenshotData(); //Get an array of data from your choosing
    e.LogEntry.AddAttachment("Screenshot.png", screenshot);
}

byte[] GetScreenshotData() {}
An error has occurred. This application may no longer respond until reloaded. Reload 🗙