Answer the question
In order to leave comments, you need to log in
Redirect streams to parser?
Hello. I use a logger, pino, on the project. It sends unreadable text to the console, but at the same time provides a CLI utility: https://github.com/pinojs/pino/blob/master/docs/cli.md . They suggest that you first write the log to a file and then use it like this: cat log | pino -t
. Obviously, this will not work on Windows, and I would like it in realtime.
Actually the question is: is it possible to redirect the stream from the node application to it?
Answer the question
In order to leave comments, you need to log in
A normal console (eg ConEmu) works perfectly with the pipe, as it should.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question