Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

log.h

Go to the documentation of this file.
00001 #ifndef SCTAPI_LOG_H
00002 #define SCTAPI_LOG_H
00003 
00004 #include <fstream>
00005 #include <string>
00006 
00011 class Log : public std::ofstream {
00012  public:
00014   Log();
00016   Log(std::string fname);
00018   Log(std::string fname, int instance);
00019 
00020 #warning "Write file to environment + filename"
00021   // Eg TDAQ_LOGS_PATH/SctApiServer.log
00022 
00024   ~Log();
00025 
00026  private:
00027   void printHeader();
00028   void printTrailer();
00029 };
00030 
00031 #endif

Generated on Mon Dec 15 19:36:05 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3