Changeset 1678
- Timestamp:
- Aug 29, 2008, 12:03:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/orxonox/SignalHandler.cc
r1607 r1678 34 34 #include "OrxonoxStableHeaders.h" 35 35 #include "SignalHandler.h" 36 #include "util/Debug.h" 36 37 37 38 #include <assert.h> … … 157 158 } 158 159 159 PRINTF(0)( "recieved signal %s\ntry to write backtrace to file orxonox.log\n", sigName.c_str() );160 COUT(0) << "recieved signal " << sigName.c_str() << std::endl << "try to write backtrace to file orxonox.log" << std::endl; 160 161 161 162 int sigPipe[2]; … … 185 186 if ( someData != 0x12345678 ) 186 187 { 187 PRINTF(0)("something went wrong :(\n");188 COUT(0) << "something went wrong :(" << std::endl; 188 189 } 189 190 … … 334 335 if ( fwrite( bt.c_str(), 1, bt.length(), f ) != bt.length() ) 335 336 { 336 PRINTF(0)( ( std::string("could not write %d byte to ") + getInstance()->fileName ).c_str(), bt.length());337 COUT(0) << "could not write " << bt.length() << " byte to " << getInstance()->fileName << std::endl; 337 338 exit(EXIT_FAILURE); 338 339 }
Note: See TracChangeset
for help on using the changeset viewer.