How to use the default function from pino
Find comprehensive JavaScript pino.default code examples handpicked from public code repositorys.
2 3 4 5 6 7 8 9 10 11 12 13
const pino = require("pino"); const webhookLogger = process.env.ERROR_LOGS ? new WebhookClient({ url: process.env.ERROR_LOGS }) : undefined; const today = new Date(); const pinoLogger = pino.default( { level: "debug", }, pino.multistream([
0
0
0