Partager via


ILogPluginEx

The ILogPluginEx interface inherits the ILogPlugin Interface interface, and thus should implement all the methods provided by ILogPlugin. In addition to the inherited methods, ILogPluginEx exposes one method, which can be used by IIS to write custom logging information to the IIS log.

ms525877.alert_caution(en-us,VS.90).gifImportant Note:

This interface is optional. If your custom logging module does not support this interface, and supports only ILogPlugin instead, IIS will still log normal HTTP operations properly.

Note

Currently, IIS only uses the ILogPluginEx interface to log CPU accounting and throttling information. IIS uses ILogPlugin::LogInformation for all other loggable events.

Methods in Vtable Order

The ILogPluginEx interface inherits the methods of the standard COM interface IUnknown.

The ILogPluginEx interface defines the following method.

Method

Description

LogCustomInformation

This method allows IIS to log user-defined data to the IIS log.

All interface, function, and data structure definitions are provided in the header file ilogobj.hxx.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in ilogobj.hxx.