ILogPluginEx::LogCustomInformation

This method allows IIS or custom applications to log user-defined data to the IIS log. If your custom logging module supports the ILogPluginEx interface, IIS will call ILogPluginEx::LogCustomInformation for certain types of logging events.

HRESULT STDMETHODCALLTYPE LogCustomInformation(

  DWORD               cCount,

  PCUSTOM_LOG_DATA    pCustomLogData,

  LPSTR               szHeaderSuffix

);

 

Parameters
cCountj
[in] Number of custom log fields that are being submitted to IIS for logging.
pCustomLogData
[in] Points to an array of CUSTOM_LOG_DATA structures, which contain information about the custom log fields to be logged.
szHeaderSuffix
[in] Points to a string that should contain the headers that IIS will write to the log file.
Remarks

This method can also be used by your own applications, an alternative to the ILogPlugin interface.

Note   With IIS version 5.0, IIS will only call the ILogPluginEx interface to log CPU accounting and throttling information. IIS uses ILogPlugin::LogInformation for all other loggable events, regardless of whether the active logging module is custom or not.