Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes to the event log.
void __cdecl LogEvent(
LPCTSTR pszFormat,
...
) throw( );
Parameters
pszFormat
The string to write to the event log....
Optional extra strings to be written to the event log.
Remarks
This method writes details out to an event log, using the function ReportEvent. If no service is running, the string is sent to the console.
Requirements
Header: atlbase.h