Framework Integrations
Integrate Logstack with Express, Next.js, NestJS, Django, FastAPI, Go net/http, and more.
Framework integrations
Guides for popular stacks. JavaScript examples use logstack-js; Python uses logstack-py; Go uses logstack-go-sdk.
| Runtime | Package | Full docs |
|---|---|---|
| Node / browser | logstack-js | JavaScript SDK |
| Go | logstack-go-sdk | Go SDK |
| Python | logstack-py | Python SDK |
JavaScript frameworks
Express.js
Full integration with request logging and error handling.
Next.js (App Router)
Fastify
NestJS
Register LogStackService as a global provider and LoggingInterceptor as a
global interceptor in your AppModule.
Hono
Python frameworks
Django
DjangoMiddleware captures unhandled exceptions (path, method, user, IP, traceback).
Use the client for business events:
Full details: Python SDK — Django.
FastAPI
Full details: Python SDK — FastAPI.
Go services
With default CaptureStdLog, existing log.Printf calls are shipped as
source: "go-log". See Go SDK.