The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CEventLog Class Reference

Collaboration diagram for CEventLog:

List of all members.

Public Types

enum  EventUser { EVENT_USER_NOTAPPLICABLE, EVENT_USER_SERVICE, EVENT_USER_CLIENT }

Public Member Functions

 CEventLog (const JetByteTools::Core::_tstring &appName)
 CEventLog (const CEventLog &rhs)
 ~CEventLog ()
CEventLogoperator= (const CEventLog &rhs)
void Install (DWORD typesSupported, DWORD categoryCount=0, PCTSTR pEventMsgFilePaths=nullptr, PCTSTR pParameterMsgFilePaths=nullptr, PCTSTR pCategoryMsgFilePaths=nullptr) const
void Uninstall () const
void ReportEvent (WORD type, WORD category, DWORD eventID, EventUser eventUser=EVENT_USER_NOTAPPLICABLE, WORD numStrings=0, PCTSTR *ppStrings=nullptr, DWORD dataSize=0, PVOID pRawData=nullptr)


Member Enumeration Documentation

enum EventUser

Enumerator:
EVENT_USER_NOTAPPLICABLE 
EVENT_USER_SERVICE 
EVENT_USER_CLIENT 


Constructor & Destructor Documentation

CEventLog ( const JetByteTools::Core::_tstring appName  )  [explicit]

CEventLog ( const CEventLog rhs  ) 

~CEventLog (  ) 


Member Function Documentation

CEventLog& operator= ( const CEventLog rhs  ) 

void Install ( DWORD  typesSupported,
DWORD  categoryCount = 0,
PCTSTR  pEventMsgFilePaths = nullptr,
PCTSTR  pParameterMsgFilePaths = nullptr,
PCTSTR  pCategoryMsgFilePaths = nullptr 
) const

void Uninstall (  )  const

void ReportEvent ( WORD  type,
WORD  category,
DWORD  eventID,
EventUser  eventUser = EVENT_USER_NOTAPPLICABLE,
WORD  numStrings = 0,
PCTSTR *  ppStrings = nullptr,
DWORD  dataSize = 0,
PVOID  pRawData = nullptr 
)


Generated on Sun Sep 12 19:09:55 2021 for The Server Framework - v7.4 by doxygen 1.5.3