Pino is a super fast, all-natural JSON logger for Node.js. The current stable version is 10.3.1. The library is actively maintained with frequent minor releases, typically addressing bug fixes, performance improvements, and feature enhancements for its core logging and transport functionalities.
npm install pinoVerified import paths — ran on the pinned version, not inferred.
Initializes a Pino logger and demonstrates basic info logging and creating a child logger with additional properties.
Upgrade your Node.js runtime to version 20 or newer, or stick to Pino v9.x.
Review and update your `censor` function implementations to match the safer type definitions introduced in v10.1.0. Consult the official Pino redaction documentation for guidance.
Ensure your Pino version is at least 10.3.1 for fixes related to `NODE_OPTIONS` sanitization and `ERR_WORKER_INVALID_EXEC_ARGV`. Avoid using `--import` preloads with transports if possible, or consult Pino transport documentation for recommended practices.
Explicitly configure transport levels if you require specific filtering. Refer to the 'Transports' documentation for detailed examples on level filtering.
Upgrade to Pino v10.2.1 or newer. Ensure Node.js environment variables (like `NODE_OPTIONS`) are correctly sanitized or avoid conflicting preload settings when using worker-based transports.
Adjust the signature of your `censor` function to align with the updated, safer types provided by Pino v10.1.0 and later. Consult the Pino redaction documentation for the correct signature.
No dependency data recorded yet.