Represents the method that will handle a LogRequest event, which occurs when IIS prepares to log the current request.
When a request-level module is registered for the RQ_LOG_REQUEST event notification, IIS will call the module's OnLogRequest method when IIS prepares to log the current request.
Request-level modules can register for the LogRequest event notification by registering for RQ_LOG_REQUEST in the module's RegisterModule function.
The following code example demonstrates how to create a request-level HTTP module that registers for the RQ_LOG_REQUEST event and post-event notifications. When IIS logs the current request, IIS will call the example module's OnLogRequest and OnPostLogRequest methods. Each method will write an entry in the application log of the Windows Event Viewer. When processing is complete, the module will exit.