- Timestamp:
- 03/19/15 00:53:12 (10 years ago)
- Location:
- cpp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/framsg.h
r286 r339 9 9 10 10 extern const char* MSG_LEVEL[]; 11 #define FRAMSG_FORMAT "[%s] %s.%s: %s" 11 12 12 13 void FMprintf(const char *o,const char *m,int w,const char *bl, ...); -
cpp/frams/errmgr/stdouterr.cpp
r336 r339 14 14 if (w < -1) w = -1; else if (w>3) w = 3; 15 15 #ifdef SHP 16 AppLog( "[%s] %s.%s: %s\n",MSG_LEVEL[w+1],o,m,bl);16 AppLog(FRAMSG_FORMAT "\n",MSG_LEVEL[w+1],o,m,bl); 17 17 #else 18 18 if (file) 19 file->printf( "[%s] %s.%s: %s\n", MSG_LEVEL[w + 1], o, m, bl);19 file->printf(FRAMSG_FORMAT "\n", MSG_LEVEL[w + 1], o, m, bl); 20 20 else 21 printf( "[%s] %s.%s: %s\n", MSG_LEVEL[w + 1], o, m, bl);21 printf(FRAMSG_FORMAT "\n", MSG_LEVEL[w + 1], o, m, bl); 22 22 #endif 23 23 }
Note: See TracChangeset
for help on using the changeset viewer.