RwOpenDebugStream(char *filename);
Arguments
filename Specifying "DEBUG:" as the name of a debugging stream will result in debugging output being issued by the Windows API function OutputDebugString().
Note that when linking against the debugging version of the library, the default debugging stream is \rw.log.