Поделиться через


CAtlServiceModuleT::LogEvent

Writes to the event log.

void __cdecl LogEvent(
   LPCTSTR pszFormat,
   ... 
) throw( );

Параметры

  • pszFormat
    The string to write to the event log.

  • ...
    Optional extra strings to be written to the event log.

Заметки

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.

Требования

Header: atlbase.h

См. также

Основные понятия

CAtlServiceModuleT Class

CAtlServiceModuleT Members