Changeset 228 for branches/libfreebob-2.0/src/debugmodule/debugmodule.cpp
- Timestamp:
- 05/28/06 05:43:20 (18 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/libfreebob-2.0/src/debugmodule/debugmodule.cpp
r168 r228 72 72 73 73 va_start( arg, format ); 74 if ( printf( "%s: ", getPreSequence( level ) ) < 0 ) { 75 cerr << "Could not create debug string with printf" << endl; 76 return; 77 } 74 78 75 if ( vprintf( format, arg ) < 0 ) { 79 76 cerr << "Could not create debug string with printf" << endl; 80 77 return; 81 78 } 82 if ( printf( "%s", getPostSequence( level ) ) < 0 ) { 83 cerr << "Could not create debug string with printf" << endl; 84 return; 85 } 79 86 80 va_end( arg ); 87 81 }