Pino ​
Pino is a fast and lightweight JSON logger designed for both development and production environments. It offers structured logging with advanced features for enhanced debugging and monitoring.
The pinoMedicusPlugin
allows you to integrate Pino into Medicus
, replacing its default error logger with Pino’s powerful logging capabilities.
ts
import { } from 'medicus';
import { } from 'medicus/pino';
import { } from 'pino';
const = ();
// Configure Medicus to use Pino for error logging
const = new ({
: [()]
});
This integration ensures that all errors and diagnostic logs produced by Medicus
are formatted and processed using Pino’s structured logging.
For additional details, visit the Pino documentation.