+2. It's now possible to use log streams for logging messages from your application. They have a number of benefits compared to using log ports. For example, you can use them from anywhere (not just from a capsule), standard C++ stream manipulators can be used (for formatting etc) and you can use them either for logging to `stdout` or `stderr`. Compound log messages can be printed in a thread-safe way by locking the log streams to avoid interleaved log messages from other threads. Read more about this feature [here]({$vars.doc.server$}/target-rts/logging/#log-stream).
0 commit comments