structured-logging-axiom

Installation
SKILL.md

Structured Logging & Axiom Infrastructure

Zero-dependency structured logging for Next.js with Axiom integration via Vercel Log Drains. No external SDK required.

Architecture

Code -> createLogger('namespace') -> console.info(JSON) -> Vercel stdout -> Log Drain -> Axiom

Logger Implementation

Create a centralized logger module that replaces all raw console.* calls:

// lib/logger.ts
export type LogLevel = 'debug' | 'info' | 'warn' | 'error'
Installs
1
GitHub Stars
1
First Seen
7 days ago