fmtlog icon indicating copy to clipboard operation
fmtlog copied to clipboard

Log split into several parts during a real-time display

Open JosueGauthier opened this issue 1 year ago • 1 comments

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

JosueGauthier avatar May 09 '23 17:05 JosueGauthier