Tutorial: system.log

system.log

Writes the passed message into both the log file and the console.

Example

fin.desktop.System.log("info",
    "An example log message",
    function () {
        console.log("message successfully logged");
    }, function(err) {
        console.log(err);
    });