@baselime/pino-transport
v0.1.5
Published
Ship logs from pino.js to Baselime
Downloads
3,138
Readme
Pino Baselime
Ship logs from pino.js to Baselime
Installation
npm i pino @baselime/pino-transport
How to Use
import pino from 'pino';
const transport = pino.transport({
target: "@baselime/pino-transport",
options: { baselimeApiKey: process.env.BASELIME_API_KEY }
});
const logger = pino(transport);