00001 #ifndef InfoLog_H 00002 #define InfoLog_H 00003 00004 #include <string> 00005 #include <fstream> 00006 00007 using namespace std; 00008 00009 00010 class InfoLog 00011 { 00012 private: 00013 ofstream out; 00014 00015 public: 00016 static const int INFO_INFO = 0; 00017 InfoLog(string filename); 00018 00019 ostream& info(int infoLevel); 00020 ostream& error(int errorLevel); 00021 00022 virtual ~InfoLog(void); 00023 }; 00024 00025 #endif 00026