Changeset 850 for cpp/common


Ignore:
Timestamp:
01/31/19 03:48:05 (6 years ago)
Author:
Maciej Komosinski
Message:

LoggerBase::handle() calling handleSingleLine() stops when paused

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/loggers/loggers.cpp

    r841 r850  
    123123                        handleSingleLine(obj, method, level, (LOG_MULTILINE_CONTINUATION + string(msg, nextsep - msg)).c_str()); //could also add line numbers like ...(3)... but let's keep the prefix short and simple
    124124                line++;
     125                if ((options & Paused) != 0) break; //changing the paused state in handleSingleLine is actually useful
    125126                if ((nextsep[0] == '\r') && (nextsep[1] == '\n'))
    126127                        msg = nextsep + 2;
Note: See TracChangeset for help on using the changeset viewer.