WebSetLogDetail Function

Action

Specifies the detail of logging information.

Include file

WebAPI.bdh

Syntax

WebSetLogDetail(in nLogFlags: number): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
nLogFlags

Can be a combination of the following constants:

  • WEB_LOG_API

  • WEB_LOG_API_DETAIL

  • WEB_LOG_REQUEST_HEADER

  • WEB_LOG_RESPONSE_HEADER

  • WEB_LOG_REQUEST_DATA

  • WEB_LOG_RESPONSE_DATA

  • WEB_LOG_REQUEST_BINARY

  • WEB_LOG_RESPONSE_BINARY

  • WEB_LOG_INFO

  • WEB_LOG_NONPRINTING_CHR

  • WEB_LOG_IMAGES_APPLETS

  • WEB_LOG_ALL

Example

dcltrans
  transaction TInit
  begin
    WebSetLogDetail(WEB_LOG_REQUEST_HEADER | WEB_LOG_RESPONSE_HEADER);
  end TInit;