logging-best-practices

Installation
SKILL.md

Logging Best Practices

Emit structured logs with Pino throughout the app.

Prerequisites

Complete these setup recipes first:

  • Pino Logging Setup

Logging

Import logger from @/lib/logging/logger. Pass a context object first, message second. For errors, put err in the context object.

import { logger } from "@/lib/logging/logger";
Installs
29
GitHub Stars
18
First Seen
Jun 8, 2026
logging-best-practices — andrelandgraf/fullstackrecipes