# pino

> super fast, all natural json logger

- Type: agent or tool
- Field: DevOps & Cloud
- Repository: https://github.com/pinojs/pino
- GitHub stars: 18316
- Licence: MIT
- Language: JavaScript
- Last push: 2026-11-22
- Page: https://imutechz.in/agents/pino

## What it is
Pino is a very low overhead JavaScript logger that writes log records as JSON. It is built to run on Node.js, and also works on Bare and Pear through the pino-bare compatibility module. It supports child loggers that carry extra properties, and log processing is handled by "transports" that the README recommends running in a worker thread.

## Features
- Writes log output as JSON lines
- Child loggers that add bound properties
- Transports API for log processing in a worker thread
- pino-pretty module for formatting logs in development
- Redaction support
- Bundling support with tools like webpack or esbuild

## Best for
- Node.js applications that need low-overhead logging
- Services that emit structured JSON logs
- Apps that want to format logs for development with pino-pretty
- Projects using web frameworks such as Fastify, Express or Koa

## Pros
- Very low overhead, with the README stating Pino is over 5x faster than alternatives in many cases
- Built to run on Node.js
- Supports bundling with webpack or esbuild
- Log processing can be moved to a separate process or thread via transports

## Cons
- Requires Node.js, or Bare/Pear with the pino-bare compatibility module
- The README recommends running log processing in a separate process or thread because of Node's single-threaded event loop
- Development formatting needs the separate pino-pretty module

## Install
```
npm install pino
```

## Usage
```
const logger = require('pino')()
```

Tags: pino, logging, json-logger, nodejs, javascript, structured-logging, transports, low-overhead
