|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| path.log(productID, filename) |
Parameters
| ID | productID | Optional. Product ID. Default value is the current application Id ({APP_ID}).
| | STRING | filename | Optional. Name of the file to be added at then end of the path. |
Return value
| Folder where the application log is created, or null. |
Description
Returns the folder where the log file and error reports are created.
If the application is installed on the computer, the log file is created in the application folder.
The value returned by log.path is the same than path.install
If the application is not installed on the computer, the log file is created in the temporary folder (path.temp).
Log can be enabled or disabled from MioFactory.
If log is disabled, and the application is not started from MioFactory, the function returns null.
Note: This function is defined in the library klib.k and is linked automatically. |
MioScript Sample Code
&logFile = path.log(null, "log.htm") |
|
|
|