review-logging-patterns

Review codebase logging patterns and propose evlog adoption with framework-specific guidance.

9|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/PhantomKnight287/saturn --skill review-logging-patterns-phantomknight287
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-logging-patterns
Source: https://github.com/PhantomKnight287/saturn/tree/main/.agents/skills/review-logging-patterns
Command: npx skills add https://github.com/PhantomKnight287/saturn --skill review-logging-patterns-phantomknight287

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review code for logging patterns and suggest evlog adoption. Guides setup on Nuxt, Next.js, TanStack Start, Nitro, Hono, Cloudflare Workers, and standalone TypeScript. Detects console.log spam, unstructured errors, and missing context. Covers wide events, structured errors, drain adapters, sampling, and enrichers.

Core Features & Use Cases

  • Identifies and fixes scattered console logs by proposing wide-event logging patterns for consistent context.
  • Provides framework-specific adoption steps (Nuxt/Nitro, Next.js, TanStack Start, Nitro v2/v3, Hono, Cloudflare Workers, standalone TS) with practical examples.
  • Recommends structured error handling and drain/sampling/enrichers integrations to improve observability.

Quick Start

Review a codebase to identify and improve logging patterns using evlog guidelines.

Frequently Asked Questions about review-logging-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix console.log spam and unstructured errors in my TypeScript codebase?

Fix console.log spam and unstructured errors by identifying scattered logs during a code review and replacing them with wide-event logging patterns using evlog. This adds consistent context, structured errors, and drain adapters to improve observability across Nuxt, Next.js, Hono, and standalone TypeScript projects.

What are wide events and how do they improve logging context?

Wide events are structured logging payloads that bundle consistent contextual data into a single record. They improve observability by replacing scattered console logs with rich, structured inputs compatible with drain adapters, enrichers, and sampling configurations.

What are wide events and how do they improve logging context?

Wide events are structured logging payloads that bundle consistent contextual data into a single record. They improve observability by replacing scattered console logs with rich, structured inputs compatible with drain adapters, enrichers, and sampling configurations.

How do I implement structured error handling with drain adapters in a Nuxt or Next.js app?

Implement structured error handling by adopting evlog guidelines to replace unstructured errors with wide events. Configure drain adapters, enrichers, and sampling during framework-specific setup in Nuxt, Next.js, or TanStack Start to capture actionable context.

What are the limitations or security risks when reviewing logging patterns?

Limitations and security risks in logging patterns include potential data leakage and sensitive information exposure. Flag these risks during code review and use evlog sampling and structured drain pipelines to control log volume and prevent exposing vulnerable data.