Open H4ad opened 6 months ago
By default pino will output to stdout using SonicBoom at https://github.com/pinojs/pino/blob/main/lib/tools.js#L330-L336
stdout
SonicBoom
Should we include more transports, like:
Should we include pipelines like:
Also, the way to expose those built-in transports can be something like:
setOptions({ transport: { target: 'node:logging/transports/pretty', }, })
Basically we can group/expose the transports via node:logging/transports/<name> and the pipelines via node:logging/pipelines/<name>.
node:logging/transports/<name>
node:logging/pipelines/<name>
By default pino will output to
stdout
usingSonicBoom
at https://github.com/pinojs/pino/blob/main/lib/tools.js#L330-L336Should we include more transports, like:
Should we include pipelines like:
Also, the way to expose those built-in transports can be something like:
Basically we can group/expose the transports via
node:logging/transports/<name>
and the pipelines vianode:logging/pipelines/<name>
.