LogDuck Documentation

Client SDKs

Markdown: this page · all of the docs · index

Official SDKs wrap POST /v1/events so you do not have to. Every one of them behaves the same way: the same validation limits, one retry on 5xx and network failures, and an Idempotency-Key generated per event and reused across that retry so a retry can never double-post.

None of them are required. The API is plain JSON over HTTPS and works from any language — see the API Reference.

Installation

dotnet add package LogDuck
npm install logduck
pip install logduck

Sending your first event

// Registered once at startup, then injected wherever you need it.public class CheckoutService(ILogDuckClient logDuck){    public async Task OnOrderPlaced(string orderId) =>        await logDuck.SendEventAsync(new LogDuckEvent        {            Type = "order.placed",            Subject = orderId        });}