#pragma once #include #include #include using namespace std; //================================================================================================// /************************** ** global logging system ** ***************************/ //================================================================================================// class Log { public: Log(){ bKeepLog = false; lcount=0;} ~Log(){} void OutPut(string str); void SetLogState(int state); private: bool bKeepLog; int lcount; }; extern Log gLog;