Closed vitoff34 closed 1 year ago
Don't colorize the output.
I removed the colorize but I still get the strange formatting.
The characters provided in the issue are terminal color escape sequences.
So there is no way to use colors in .log files?
You are welcome to write whatever you like to a log file. It's a matter of tooling to interpret them in the way you want.
So I can format in one way in console and another in .log files for pino pretty? Can you show me some code how to achieve this if it is not too much trouble? Thank you
We have significant documentation around multiple streams. Please open an issue if you find problems with that documentation.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello, I am trying to log errors using pretty-pino not only to the console but also to files. This is my code for the logger:
However when the error is added to the error.log there is some strange formatting like this:
Additionally in front of every "[" there is something like and ESC emoji. How can I remove this formatting? Thank you