CEventLog Class Reference

#include <EventLog.h>

Collaboration diagram for CEventLog:

Collaboration graph
[legend]

List of all members.


Detailed Description

This is a helper class that helps with logging operations

TSP-enforcing: No

Definition at line 21 of file EventLog.h.


Public Member Functions

 CEventLog ()
virtual ~CEventLog ()

Static Public Member Functions

static bool AddEventSource ()
static void Write (int intEventType, int intEventCat, int eventID, const char *cstrMessage)

Constructor & Destructor Documentation

CEventLog::CEventLog (  ) 

Interface: Subsystem

Default constructor

Returns:
None

Definition at line 30 of file EventLog.cpp.

CEventLog::~CEventLog (  )  [virtual]

Interface: Subsystem

Destructor

Returns:
None

Definition at line 41 of file EventLog.cpp.


Member Function Documentation

bool CEventLog::AddEventSource (  )  [static]

Interface: Subsystem

This function adds an event source

Returns:
True if the even source was sucessfully added, false otherwise

Definition at line 59 of file EventLog.cpp.

References COMMON_INVALID_INPUT, and TOOLKIT_PATH.

Referenced by InitAudit(), and Write().

void CEventLog::Write ( int  intEventType,
int  intEventCat,
int  eventID,
const char *  cstrMessage 
) [static]

Interface: Subsystem

This function writes to the event log

Returns:
None
Parameters:
intEventType  [in] Event type
intEventCat  [in] Event categoty
eventID  [in] Event ID
cstrMessage  [in] A NULL terminates string containing the even message

Definition at line 238 of file EventLog.cpp.

References AddEventSource(), GetUserSid(), PKIF_LOAD, and PKIF_UNLOAD.

Referenced by AuditString().


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

Generated on Mon Nov 15 11:19:47 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6