How to use the multistream function from pino
Find comprehensive JavaScript pino.multistream code examples handpicked from public code repositorys.
6 7 8 9 10 11 12 13 14 15
const today = new Date(); const pinoLogger = pino.default( { level: "debug", }, pino.multistream([ { level: "info", stream: pino.transport({ target: "pino-pretty",
0
0
0
57 58 59 60 61 62 63 64 65 66
return { level: label }; }, }, }, pino.multistream(streams, { levels, dedupe: true, }) );
0
0
0
+ 3 other calls in file