Logging multiline messages in heroku
问题 I'm developing an application using NodeJS and deployed in Heroku. I need to log multi-line messages (eg. stacktraces and other multiline information) but would like to retain them as one log message each. The problem is that when using console.log (or any framework that uses console.log / stdout ) with a multiline message it's interpreted like multiple messages by Heroku (one message per each line in the original message). I think the problem lies in that Heroku reads the messages from the