thread.js
function Log() {
    var args = CopyArguments(arguments);
    var level = args.shift();
    args.unshift("[Thread] <"+threadId+">");
    args.unshift(level);
    process.send({name: "thread-log", args: SerializeForProcess(args)});
}
function Log() {
    var args = CopyArguments(arguments);
    var level = args.shift();
    args.unshift("[Thread] <"+threadId+">");
    args.unshift(level);
    process.send({name: "thread-log", args: SerializeForProcess(args)});
}
function Log ( ) { var args = CopyArguments ( arguments ) ; var level = args . shift ( ) ; args . unshift ( "[Thread] <" + threadId + ">" ) ; args . unshift ( level ) ; process . send ( { name : "thread-log" , args : SerializeForProcess ( args ) } ) ; }
Log an information
Log an information