import { createLogStack } from 'logstack-js';
// Initialize the SDK
const logstack = createLogStack({
apiKey: process.env.LOGSTACK_API_KEY,
environment: 'production'
});
// Track events with ease
await logstack.info('User subscribed', {
plan: 'pro_monthly',
revenue: 2900,
userId: 'user_123'
});Works seamlessly with your favorite stack
Built for developers who care about quality, speed, and ownership.
Watch logs flow in real-time via WebSockets. Debug production issues as if they were local.
Set up complex alert rules based on log patterns, error rates, or business metrics.
Turn JSON logs into beautiful dashboards. Visualize trends, spikes, and anomalies instantly.
Monitor your infrastructure from anywhere. Native iOS and Android apps included.
Deploy via Docker or Kubernetes. Keep 100% ownership of your sensitive data.
First-class support for TypeScript, Go, and Python. Autocomplete your way to better logs.
Production issues don't wait for you to be at your desk. With Logstack Mobile, you can triage errors, silence alerts, and view live logs from anywhere in the world.
Mobile apps are in private beta. Public store links will be added at launch.
Real-time alerts and logs in your pocket
Tap to continue
Welcome & onboarding
Join thousands of developers shipping better software with Logstack. Open source, powerful, and free to start.