00001 #include "InfoLog.h" 00002 00003 using namespace std; 00004 00005 InfoLog::InfoLog(string filename) 00006 { 00007 out.open(filename.c_str(), fstream::trunc | fstream::out ); 00008 00009 } 00010 00011 InfoLog::~InfoLog(void) 00012 { 00013 out.flush(); 00014 out.close(); 00015 } 00016 00017 ostream& InfoLog::info(int infoLevel) 00018 { 00019 return out; 00020 } 00021 ostream& InfoLog::error(int errorLevel) 00022 { 00023 return out; 00024 }