Tutorial: system.getLogList

system.getLogList

Retrieves an array containing information for each log file.

Example

fin.desktop.System.getLogList(function (logList) {
    logList.forEach(function (logInfo) {
        console.log("The filename of the log is " +
            logInfo.name + ", the size is " +
            logInfo.size + ", and the date of creation is " +
            logInfo.date);
    });
});

Window Info List

//This response has the following shape:
{
    name: "fileName", //the filename of the log,
    size: 55, //the size of the log in bytes,
    date: "Thu Jan 08 2015 14:40:30 GMT-0500 (Eastern Standard Time)" //the unix time at which the log was created
}