fastify
pino
fastify | pino | |
---|---|---|
2 | 38 | |
3 | 13,297 | |
- | 1.0% | |
0.0 | 8.6 | |
about 3 years ago | 3 days ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastify
- Why node npm packages and APIs NEVER use Arrow Functions?
-
Fastify and PostgreSQL REST API
You can check out the source code or follow along in this post.
pino
-
Migrate Your Express Application to Fastify
Learn more about logging in Fastify and how to customize the Pino logger.
-
Logs monitoring with Loki, Node.js and Fastify.js
The Fastify framework includes the Pino logger by default (a really great logger with lots of cool features that doesn't compromise on performance). The framework itself allows a lot of really cool stuff, like controlling the level of logs at runtime.
- Advice on Node Logging to Google Cloud Platform
-
Getting Started with Fastify for Node.js
Fastify provides a built-in logging mechanism based on Pino that allows you to capture various events in your applications. Once enabled, Fastify logs all incoming requests to the server and errors that occur while processing said requests. It also provides a convenient way to log custom messages through the log() method on the Fastify instance or the request object.
-
10 Powerful Node.js Libraries Every Developer Should Know About
1. pino
-
Node.js 20 Released: Experimental Perms, new V8, and Single Executable Apps
Vitest is for frontend. Jest is not good for backend (I don’t like it for frontend either), take a look at this issue.
-
What is the preferred stack for managing medium to large-size logs?
Have a look at https://github.com/pinojs/pino
-
Logging in your API
NodeJS -> Pino, Winston, Bunyan, Npmlog, e.t.c.
-
Logging practices
Use a configurable logger like pino
-
Logging - correlationId - headers - how?
Using pino as a logger, for every request on the _server_ , a unique ID generated client side in the headers, so a log may be something like:
What are some alternatives?
fastify-example - This project is a small but feature complete application build with Fastify and Svelte, and it aims to show all the core concepts of Fastify, best practices, and recommendations.
winston - A logger for just about everything.
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
Bunyan - a simple and fast JSON logging module for node.js services
fastify-example-todo - A Simple Fastify REST API Example
console-log-level - The most simple logger imaginable
Koa - Expressive middleware for node.js using ES2017 async functions
log4js-node - A port of log4js to node.js
winston-daily-rotate-file - A transport for winston which logs to a rotating file each day.
opentelemetry-specification - Specifications for OpenTelemetry
storyboard - End-to-end, hierarchical, real-time, colorful logs and stories
loglevel - :ledger: Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods