#ifndef __XIOS_LOG_HPP__ #define __XIOS_LOG_HPP__ #include #include #include namespace xios { using namespace std ; class CLog : public ostream { public : CLog(const string& name_, std::streambuf* sBuff = cout.rdbuf()) : ostream(sBuff), level(0), name(name_), strBuf_(sBuff) {} CLog& operator()(int l) { if (l<=level) { rdbuf(strBuf_); *this<<"-> "<