ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Debug functions
  • Operating mode of the runtime log
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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:
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • processes
LogParametersThe parameters of the functions are written into the runtime log.
LogProcessOnlyThe runtime log only retrieves information about the processes.
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.

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:
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • processes
LogParametersThe parameters of the functions are written into the runtime log.
LogProcessOnlyThe runtime log only retrieves information about the processes.
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
<New options>: Integer constant
Options of the runtime log:
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • processes
LogParametersThe parameters of the functions are written into the runtime log.
LogProcessOnlyThe runtime log only retrieves information about the processes.
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
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: wd300vm.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help