review-logging-patterns

Transform scattered console statements into structured wide events and error objects.

Updated Jul 28, 2026
One-click install
npx skills add https://github.com/tuliof/dindin --skill review-logging-patterns-tuliof
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-logging-patterns
Source: https://github.com/tuliof/dindin/tree/main/.agents/skills/review-logging-patterns
Command: npx skills add https://github.com/tuliof/dindin --skill review-logging-patterns-tuliof

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the chaos of scattered console logs and unstructured errors, which make production debugging difficult and time-consuming.

Core Features & Use Cases

  • Wide Event Adoption: Converts fragmented logs into comprehensive, request-scoped wide events that capture user, business, and error context in one place.
  • Structured Error Handling: Replaces generic errors with self-documenting structured errors that include root causes, actionable fixes, and documentation links.
  • Framework Integration: Provides setup guides for major frameworks like Nuxt, Next.js, TanStack Start, Hono, and NestJS, including support for log draining to services like Axiom, Sentry, and Datadog.

Quick Start

Run the evlog cli map command in your project root to identify and score dark entry points for wide event coverage.

Frequently Asked Questions about review-logging-patterns

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

FAQPage Schema
What is the best way to handle structured error handling across TypeScript frameworks?

Structured error handling replaces generic errors with self-documenting objects that include root causes, actionable fixes, and documentation links. This approach ensures production debugging context is preserved and immediately actionable rather than requiring manual correlation.

How do I drain structured logs to external observability services like Sentry or Datadog?

Yes, structured logging middleware supports major TypeScript frameworks including Nuxt, Next.js, TanStack Start, Hono, and NestJS. Setup guides provide specific instrumentation patterns to integrate request-scoped wide events and consistent context accumulation across these environments.

How do I identify uninstrumented entry points for wide event coverage in my codebase?

You drain structured logs to external services by configuring middleware to route wide events and error objects to platforms like Axiom, Sentry, and Datadog. This skill provides integration patterns for external log draining to centralize production debugging data.

Do I need tail sampling to improve logging observability in TypeScript applications?

Production debugging fails with unstructured console statements because fragmented logs lack request-scoped context, making it difficult to correlate user actions with errors. Converting to structured wide events captures comprehensive business and error context in a single location.