Installation
Install Logstack SDKs for JavaScript, Go, and Python.
Installation
Pick the SDK for your stack. All three use the same project API key and ingest
endpoint (POST /v1/logs).
Requirements
| SDK | Runtime |
|---|---|
JavaScript (logstack-js) | Node.js 16+, modern browsers, Deno, Bun |
Go (logstack-go-sdk) | Go 1.21+ |
Python (logstack-py) | Python 3.7+ |
Package install
Verify installation
Self-hosted endpoint
Point any SDK at your own API host (no /v1 suffix required):
Self-hosted instances use the same SDKs — only the host URL changes.
CDN (browser, JS only)
Never expose production API keys in public client-side code. Prefer a backend proxy for browser logging.
Next steps
- SDK overview — all languages
- JavaScript SDK · Go SDK · Python SDK
- Logging guide — levels and metadata
- Framework integrations