Ignore:
Timestamp:
03/12/15 04:19:45 (10 years ago)
Author:
Maciej Komosinski
Message:

Error message formatting: - "[x] x::x - " -> "[x] x.x: "
Error managers support configurable multi-line "call stack" messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/errmgr/stdouterr.cpp

    r286 r336  
    1414        if (w < -1) w = -1; else if (w>3) w = 3;
    1515#ifdef SHP
    16         AppLog("[%s] %s::%s - %s\n",MSG_LEVEL[w+1],o,m,bl);
     16        AppLog("[%s] %s.%s: %s\n",MSG_LEVEL[w+1],o,m,bl);
    1717#else
    1818        if (file)
    19                 file->printf("[%s] %s::%s - %s\n", MSG_LEVEL[w + 1], o, m, bl);
     19                file->printf("[%s] %s.%s: %s\n", MSG_LEVEL[w + 1], o, m, bl);
    2020        else
    21                 printf("[%s] %s::%s - %s\n", MSG_LEVEL[w + 1], o, m, bl);
     21                printf("[%s] %s.%s: %s\n", MSG_LEVEL[w + 1], o, m, bl);
    2222#endif
    2323}
Note: See TracChangeset for help on using the changeset viewer.