PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Operating mode of the runtime log
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
dbgLogOption (Function)
In french: dbgOptionLog
Retrieves or modifies the options of the runtime log.
Example
// Find out the options of the runtime log
IF BinaryAND(dbgLogOption(), LogWLanguageFunctions) = LogWLanguageFunctions THEN
Trace("Log with functions")
END
IF BinaryAND(dbgLogOption(), LogParameters) = LogParameters THEN
Trace("Log with parameters")
END
IF BinaryAND(dbgLogOption(), LogProcessOnly) = LogProcessOnly THEN
Trace("Log with processes")
END
Syntax

Finding out the options of the runtime log Hide the details

<Result> = dbgLogOption()
<Result>: Integer constant
Options of the runtime log:
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
LogParametersThe parameters of the functions are written into the runtime log.
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • the processes
LogProcessOnlyThe runtime log only retrieves information about the processes.

Modifying the options of the runtime log Hide the details

dbgLogOption(<Former Options> , <New Options>)
<Former Options>: Integer constant
Options of the runtime log before the modification:
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
LogParametersThe parameters of the functions are written into the runtime log.
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • the processes
LogProcessOnlyThe runtime log only retrieves information about the processes.
<New Options>: Integer constant
Options of the runtime log:
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
LogParametersThe parameters of the functions are written into the runtime log.
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • the processes
LogProcessOnlyThe runtime log only retrieves information about the processes.
Remarks

Operating mode of the runtime log

By default, the runtime log is created with all the options: list of WLanguage functions as well as function parameters. These options are used to present the actions in details but the size of the created log will quickly increase.
To limit the size of runtime log (when a log is performed over a long time for instance), you have the ability to ignore these options.
To limit the size of the runtime log, you also have the ability to enable the runtime log for the application section that is causing problem with dbgLogStatus.
Component : wd240vm.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment