fastify-example
pino
Our great sponsors
fastify-example | pino | |
---|---|---|
1 | 38 | |
618 | 13,256 | |
- | 2.4% | |
0.0 | 8.6 | |
about 1 year ago | 4 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | 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-example
-
Fastify and PostgreSQL REST API
fastify-example
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-todo - A Simple Fastify REST API Example
winston - A logger for just about everything.
protected-routes-with-supabase-nextjs-example - This is an example app showing protected routes in NextJS with Supabase user management
Bunyan - a simple and fast JSON logging module for node.js services
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
console-log-level - The most simple logger imaginable
Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development
log4js-node - A port of log4js to node.js
fastify - trying out fastify
winston-daily-rotate-file - A transport for winston which logs to a rotating file each day.
Hospital Run - Backend for HospitalRun
opentelemetry-specification - Specifications for OpenTelemetry