|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
Parameters
None.
Return value
| Returns true if log is enabled, false otherwise. |
Description
This function returns true if log is enabled, false otherwise.
You can call the log function if the log is disabled as the function will simply be ignored. You should check if log is enabled if you have to build the information to be sent to the log file, so your application will run faster when log is disabled.
To retrieve if log is enabled from JavaScript: logIsEnabled.
Note: This function is defined in the library klib.k and is linked automatically. |
MioScript Sample Code
if(system.logIsEnabled() == true)
log("TITLE", "Hello World!")
if.end |
|
|
|