#include "debug.h" #include #include #include #if ENABLE_LOGGING namespace xstream{ std::ostream* debug = &std::clog; #if 0 class log{ log() { char* fname = getenv("XSTREAM_LOGFILE"); if(0!=fname){ debug = new std::fstream(fname, std::ios::out | std::ios::trunc); (*debug)<