pino-js

Installation
SKILL.md

Pino Logging

Apply these conventions when working with pino logging code.

Compatibility

  • Current stable checked: Pino 10.3.1.
  • Pino 10 dropped Node.js 18 support. For Node.js 18 applications, stay on the Pino 9 line unless the runtime can be upgraded.
  • Official runtimes are Node.js, Bare, and Pear; browser usage has a separate API surface. Bundlers must emit Pino worker/transport support files separately.

Logger Creation

  • Create with pino(options, destination). Both arguments are optional.
  • Key options: level (default 'info'), name, base (default {pid, hostname} — set to undefined to omit), timestamp (default true), messageKey (default 'msg'), errorKey (default 'err').
  • Use enabled: false to disable logging entirely (e.g., in tests).
  • Use nestedKey to namespace logged objects and avoid key collisions with the log envelope.
  • depthLimit (default 5) and edgeLimit (default 100) only affect Pino's fallback serializer after JSON.stringify throws; do not rely on them as general output-size or traversal limits.
Installs
33
Repository
avbel/ai-skills
GitHub Stars
2
First Seen
May 17, 2026