DataLog Class Reference

#include <DataLog.h>

List of all members.

Public Member Functions

 DataLog (LogTypeName newLogType)
void log (char *data)


Detailed Description

DataLog is passed a "logtype" through the constructor, so that we may facilitate different types of logging. (email, local_file, ftp, etc) data is "logged" through the public log() method, then a case statement will determine which specific type of logging will take place. All derivitive log methods will be private! For the time being, everything will be done in the DataLog class, although it may end up being necissary that every logtype require it's own class. Example being email. We do not want to send an email for every character pressed on the keyboard. It may be stored in a local file, until program termination, or sent every hour.

Constructor & Destructor Documentation

DataLog::DataLog ( LogTypeName  newLogType  ) 

Overloaded constructor to accept LogTypeName

Parameters:
newLogType LogTypeName, to determine how data will be logged


Member Function Documentation

void DataLog::log ( char *  data  ) 

Method that will add data to the log

Parameters:
data Data to add to the log


The documentation for this class was generated from the following files:

Generated on Fri May 8 13:08:45 2009 for MyHook by  doxygen 1.5.8