#ifndef _GAMA_STD_LOG_H_ #define _GAMA_STD_LOG_H_ #include class CLog { public: CLog(); ~CLog(); bool RedirectStdErr(const char* szFileName); bool RedirectStdOut(const char* szFileName); private: bool MakeFileName(const char* szFileName, char* szLogFileName); FILE* m_stdout; FILE* m_stderr; }; #endif