Flat text from msg.payload

I would like to log different data that is send and received
This sometimes contains arrays.

Is it possible to convert everything to flat text?
So that the whole lines comes like text in my log file.
Now i get [object Object] for example
The problem is that the datastring differs every time

thanks

Maybe this could be of use ?https://flows.nodered.org/node/node-red-contrib-flogger

2 Likes

Cool that does it exactly!
Only dont understand the loglevel, but i guess that is just a marker line in the log?

Things i didn’t know i wanted :heart_eyes:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.