It is an option flag that can be used with log_output module which is a helper module for formatting log messages. Most of backends does not use it. It can be easily added to certain backend if needed as a Kconfig option. Feel free to open a Pull Request or let me know which backend you are using.
From: users@... <users@...>
On Behalf Of justin.leavesley via lists.zephyrproject.org
I would have thought this was easy but I cannot seem to find a way to prevent LOG_INF etc from adding a line break to the log string.
I have found the following log flag definition in log_output.h
#define LOG_OUTPUT_FLAG_CRLF_NONE BIT(4)
But I cannot see how to set this flag in the build and config system so that the logging picks it up.