Changeset 395 for branches/streaming-rework/src/debugmodule/debugmodule.cpp
- Timestamp:
- 02/16/07 02:35:25 (17 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/streaming-rework/src/debugmodule/debugmodule.cpp
r392 r395 99 99 va_list arg; 100 100 va_start( arg, format ); 101 102 // remove the path info from the filename 103 char *f=(char *)file; 104 char *fname; 105 while((f=strstr(f, "/"))) { 106 f++; // move away from delimiter 107 fname=f; 108 } 109 101 110 DebugModuleManager::instance()->print( "%s (%s)[%4d] %s: ", getPreSequence( level ), 102 f ile, line, function );111 fname, line, function ); 103 112 DebugModuleManager::instance()->va_print( format, arg ); 104 113 DebugModuleManager::instance()->print( "%s", getPostSequence( level ) );