Architecture
Core Concepts
Log Structure
Every log entry has a consistent structure across all SDKs:Log Types
Importance Levels
SDKs
Next.js (@snaplog/next)
logger.get(), logger.stream(), webhook verification.
NestJS (@snaplog/nest)
forRoot/forRootAsync), @Log/@Track/@Metrics/@NoLog decorators, global HTTP interceptor, LoggerService implementation.
Key Features
Data Flow
- Instrument — Add SDK to your app, log with structured fields
- Transport — SDK batches logs, sends via HTTPS with retries
- Ingest — SnapLog API receives, validates, stores
- Query — Dashboard or API: filter, search, aggregate
- Alert — Dashboard rules evaluate, trigger notifications
- Stream — SSE connection for real-time log viewing
Next Steps
Quickstart
Get started in 30 seconds