Changeset 372 for cpp/frams/mhandlers/stdouthandler.cpp
- Timestamp:
- 04/22/15 04:14:59 (10 years ago)
- Location:
- cpp/frams/mhandlers
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/mhandlers/stdouthandler.cpp
r371 r372 3 3 // See LICENSE.txt for details. 4 4 5 #include "stdout err.h"5 #include "stdouthandler.h" 6 6 #ifdef SHP 7 7 #include <FBaseSys.h> //AppLog … … 10 10 #endif 11 11 12 void StdoutErrorHandler::handle(const char *o, const char *m, const char *bl, int w)12 void MessageHandlerToStdout::handle(const char *o, const char *m, const char *bl, int w) 13 13 { 14 14 if (w < -1) w = -1; else if (w>3) w = 3; 15 15 #ifdef SHP 16 AppLog( FRAMSG_FORMAT "\n",MSG_LEVEL[w+1],o,m,bl);16 AppLog(HMSG_FORMAT "\n",HMSG_LEVEL[w+1],o,m,bl); 17 17 #else 18 18 if (file) 19 file->printf( FRAMSG_FORMAT "\n",MSG_LEVEL[w + 1], o, m, bl);19 file->printf(HMSG_FORMAT "\n", HMSG_LEVEL[w + 1], o, m, bl); 20 20 else 21 printf( FRAMSG_FORMAT "\n",MSG_LEVEL[w + 1], o, m, bl);21 printf(HMSG_FORMAT "\n", HMSG_LEVEL[w + 1], o, m, bl); 22 22 #endif 23 23 }
Note: See TracChangeset
for help on using the changeset viewer.