Changeset 873 for cpp/common


Ignore:
Timestamp:
05/05/19 00:31:15 (6 years ago)
Author:
Maciej Komosinski
Message:

Improved comment

File:
1 edited

Legend:

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

    r850 r873  
    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
     125                if ((options & Paused) != 0) break; //seemingly pointless test (it was already checked), but 'options' can change inside handleSingleLine().
    126126                if ((nextsep[0] == '\r') && (nextsep[1] == '\n'))
    127127                        msg = nextsep + 2;
Note: See TracChangeset for help on using the changeset viewer.