Open knilink opened 4 years ago
solved by
child = spawn('pino-gelf' , ['log', '-h', 'localhost']);
log = pino({...}, child.stdin)
but still feel good to have it
feel free to close the issue if customizing input stream is considered as necessary.
https://github.com/pinojs/pino-gelf/blob/9df316ae7f577260a1c553022d91ca04757ee7e8/lib/pino-gelf.js#L10