2410_LSS100100/LSS100200_SW_03.0

Logs

Logs are useful for debugging scripted code. The appearance of log messages is defined by the log function. You can also export logs to a CSV file.


Example

log(var1, [var2, [var3, ...]])

Converts variables to a human-readable form and stores them as follows:

-- log function accepts Lua nil, boolean, number and table (up to 5 nested levels) type variables

a ={ key1 =’value1’, key2 =2}
b =’test’
c =123.45
-- logs all passed variables
log(a, b, c)

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?