Logging structured
Skill JimmyBlanquet/project-forge/skills/core/logging-structured
SaaS factory: Next.js starters + spec-kit extensions + Ralph++ autonomous loop. Production-ready in 48h.
npx -y skills add JimmyBlanquet/project-forge --skill logging-structuredAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Structured logging with typed contexts for Next.js applications. JSON output for production, pretty-print for development.
SKILL.md
1.2 KB, as published. Nobody here has run it
Logging Structured Skill
Version: 1.0.0 | Category: Core | Production-ready: β
Description
Structured logging with typed contexts for Next.js applications. JSON output for production, pretty-print for development.
Features
- π Structured JSON logging
- π¨ Pretty-print in development
- π·οΈ Typed log contexts
- β‘ Performance tracking
- π Request tracing
- π Log levels (debug, info, warn, error)
Installation
cd skills/core/logging-structured && bash install.sh
Usage
import { createLogger } from '@/lib/logger'
const logger = createLogger({ module: 'api' })
logger.info('Processing request', { userId, action: 'login' })
logger.error('Failed to authenticate', { error })
logger.debug('Cache hit', { key, ttl: 300 })
Files
lib/logger/index.ts- Main logger factorylib/logger/types.ts- TypeScript typeslib/logger/middleware.ts- Next.js middleware (optional)lib/logger/classification.ts- Log classification helpers
Extracted from: internal production SaaS