auto-generated-structured-logging-with-pino

Official

Structured, environment-aware logging with Pino.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Logging for multi-environment Node.js apps can be inconsistent, hard to parse, and difficult to adapt to Lambda/Azure/dev setups; this skill provides a unified, structured logging approach using Pino and a compatible ILogger adapter.

Core Features & Use Cases

  • Environment-aware logging: auto-detects runtime and adjusts transport (pretty in dev, JSON in production, silent in test).
  • Child loggers per module: creates contextual loggers to enhance traceability.
  • ILogger adapter: maintains backward compatibility with existing code while preserving structured metadata.
  • Error and timing patterns: standardized error logging with err field and duration tracking for performance insights.

Quick Start

Install and integrate the Pino-based logger in your project to enable consistent, structured logs across environments.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auto-generated-structured-logging-with-pino
Download link: https://github.com/planetaryescape/ai-digest/archive/main.zip#auto-generated-structured-logging-with-pino

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.