fmtlog
fmtlog copied to clipboard
Log split into several parts during a real-time display
Hello,
I use fmtlog to write my logs to a terminal in real time via a macro:
#define LOG_DEBUG(...) \
{ \
logd(__VA_ARGS__);\
fmtlog::poll(); \
}
The problem is that many concurrent threads are running and when displayed this produces lines split into several pieces with the start of one log and the end of another.
I searched hard and couldn't find an answer.
Thanks