std::cerr<<OT_CODE_STAMP<<"WARNING: due to debug stream problem ("<<msg<<") - switching back to fallback stream (e.g. cerr)"<<std::endl;
std::cerr<<OT_CODE_STAMP<<"WARNING: due to a problem in the debug/logging system itself ("<<msg<<") - we are switching back to fallback stream (e.g. cerr)"<<std::endl;
if(mStreamBrokenDebug==nullptr){
std::cerr<<OT_CODE_STAMP<<" ERROR: in addition, while reporting this problem, mStreamBrokenDebug stream is NULL."<<std::endl;
std::cerr<<OT_CODE_STAMP<<" ERROR: in addition, while reporting this problem, mStreamBrokenDebug stream is NULL: "<<mStreamBrokenDebug<<std::endl;
}else{
(*mStreamBrokenDebug)<<OT_CODE_STAMP<<"WARNING: due to debug stream problem ("<<msg<<") - switching back to fallback stream (e.g. cerr)"<<std::endl;