Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 808 Bytes

File metadata and controls

30 lines (20 loc) · 808 Bytes

Logging Policy reference implementation for Node.js

© Blueground

📘 Start with the Logging Policy.

This repository is a reference implementation of that policy for Node.js services. We encourage you to read the policy first, then explore this project to see the guidelines applied in practice ✨.

Implementations 🧩

  • Manages a Mapped Diagnostic Context using async-mdc with Pino
  • Express
  • Fastify
  • Kafka consumer
  • RabbitMQ consumer
  • Bull.js Queue processor

👀 See postman.json for the available routes to get it for a spin

Fastify 🚀

$ npm run dev:fastify

Express 🚀

$ npm run dev:express