Log Class Reference

A logging class, just an ofstream that opens a fixed file. More...

#include <log.h>


Public Member Functions

 Log ()
 Create file.
 Log (std::string fname)
 Create file.
 Log (std::string fname, int instance)
 Create file.
 ~Log ()
 Make sure file is saved on exit.

Private Member Functions

void printHeader ()
void printTrailer ()

Static Private Member Functions

static std::string getDefaultFileName ()


Detailed Description

A logging class, just an ofstream that opens a fixed file.

Definition at line 11 of file sctConf/log.h.


Constructor & Destructor Documentation

Log::Log  ) 
 

Create file.

Log::Log std::string  fname  ) 
 

Create file.

Log::Log std::string  fname,
int  instance
 

Create file.

Log::~Log  ) 
 

Make sure file is saved on exit.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:01:53 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6