DataLog Class Reference
#include <DataLog.h>
List of all members.
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
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:
- C:/Documents and Settings/Administrator/My Documents/MyHook/1.2/DataLog.h
- C:/Documents and Settings/Administrator/My Documents/MyHook/1.2/DataLog.cpp