review-logging-patterns

Review code for logging best practices and suggest structured wide events.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires evlog, and includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill helps developers improve their logging strategies by transforming scattered console statements into structured, comprehensive wide events that facilitate debugging and observability.

Core Features & Use Cases

  • Code Review Assistance: Provides actionable guidance to convert ad-hoc logs into structured wide events.
  • Best Practices Enforcement: Ensures error handling and logging in code follow evlog's standards for clarity and security.
  • Use Case: During a code review, identify scattered console logs and recommend replacing them with a single wide event using useLogger(), enhancing traceability.

Quick Start

Review your existing logs and replace multiple console.log() statements with wide events by utilizing useLogger() in your codebase.

Frequently Asked Questions about review-logging-patterns

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

FAQPage Schema
How do I convert scattered console.log statements into structured logs?

Structured logs improve debugging by transforming scattered console statements into comprehensive wide events. Using `useLogger()` accumulates request context, ensuring errors are wrapped with `createError` to enhance application traceability and security during code reviews.

What is the best way to handle error logging and ensure context accumulation in request handlers?

The best way to handle error logging in request handlers is by ensuring errors are wrapped with `createError` and utilizing `useLogger()` for context accumulation. This structured approach follows evlog standards to maintain clarity and security.

How do I review code for logging best practices and wide events?

Reviewing code for logging best practices involves identifying scattered console logs and recommending their conversion into a single wide event. This enforces structured logging standards, ensuring errors are wrapped properly and request handlers accumulate context effectively.

Does this code review approach work with the evlog logging library?

Yes, this code review approach works directly with the evlog logging library. It enforces evlog's specific standards by ensuring code utilizes `useLogger()` for context accumulation and wraps errors with `createError` for improved security and debugging.

When should I replace ad-hoc logs with structured wide events?

You should replace ad-hoc logs with structured wide events when you need to improve debugging and observability. Transforming multiple `console.log()` statements into a single wide event using `useLogger()` enhances traceability and ensures secure error handling.