1 MB. Zero dependencies.
evlog is everything your logging library should be.
✨ Wide-events native
Log entire request contexts, not just strings. One log per request, full context.
🤖
@vercel AI SDK integration
Track LLM calls, tokens, costs, tool calls, streaming metrics automatically. Wrap your model and get full AI observability.
🔐
@better_auth integration
Every wide event includes who made the request. userId, user profile, session metadata. Zero manual work.
📋 First-class audit logs
Tamper-evident audit trails. One enricher, one drain wrapper, one helper.
🧹 Auto-redaction
Smart masking for credit cards, emails, IPs, phone numbers, JWTs, PII. Before console output and drains.
🔌 Drain to anything
@AxiomFM,
@datadoghq,
@PostHog,
@getsentry,
@BetterStackHQ,
@hyperdxio,
@grafana /
@honeycombio via OTLP, custom endpoints, file system,
@nuxt_hub self-hosted storage.
⚡️ Every framework
@nuxt_js,
@nextjs,
@sveltejs,
@nitrojsdev,
@tan_stack Start,
@nestframework, Express,
@honojs,
@fastifyjs,
@elysiajs,
@remix_run,
@astrodotbuild,
@cloudflare Workers,
@awscloud Lambda.
🎯 Structured errors
Errors that explain why and how to fix. Actionable context for humans and AI agents.
🎨 Client logging
Browser events with the same API. Auto console styling, user identity, optional server transport.
🔥 Tail sampling
Never miss errors or slow requests. Head sampling drops noise, tail sampling rescues critical events.
📦 Typed fields
Compile-time type safety for wide events. Prevent typos, ensure consistency.
🛠
@vite_js plugin
Build-time optimizations, auto-init, debug stripping, source location injection.
🔍 Agent Skills
AI-assisted code review and migration guide.
Digging through logs is not observability. It's hope
evlog.dev