fprintf(g_debugstreams[1], " Separator \n");
fprintf(g_debugstreams[1], "-------------\n\n");
}
-
- DEBUGPRINT("Debug streams initialized, %s\n",
- disable_stderr?"not printing on stderr":"using stderr");
}
void debugstreams_deinit()
DSTACK(__FUNCTION_NAME);
- dstream<<"logfile = "<<logfile<<std::endl;
- dstream<<"path_share = "<<porting::path_share<<std::endl;
- dstream<<"path_user = "<<porting::path_user<<std::endl;
+ infostream<<"logfile = "<<logfile<<std::endl;
+ infostream<<"path_share = "<<porting::path_share<<std::endl;
+ infostream<<"path_user = "<<porting::path_user<<std::endl;
// Debug handler
BEGIN_DEBUG_EXCEPTION_HANDLER
#include "config.h"
#include "debug.h"
#include "filesys.h"
+#include "log.h"
#ifdef __APPLE__
#include "CoreFoundation/CoreFoundation.h"
Use relative paths if RUN_IN_PLACE
*/
- dstream<<"Using relative paths (RUN_IN_PLACE)"<<std::endl;
+ infostream<<"Using relative paths (RUN_IN_PLACE)"<<std::endl;
/*
Windows
Use platform-specific paths otherwise
*/
- dstream<<"Using system-wide paths (NOT RUN_IN_PLACE)"<<std::endl;
+ infostream<<"Using system-wide paths (NOT RUN_IN_PLACE)"<<std::endl;
/*
Windows