Gets the log message (value),
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
ctx.log("Hello!");
});
b.addLogger(function(ctx) {
console.log("[LOG] " + ctx.message);
});
b.start();
Gets the log message (value),
import Batch = require("nativescript-batch");
var b = Batch.newBatch(function(ctx) {
ctx.log("Hello!");
});
b.addLogger(function(ctx) {
console.log("[LOG] " + ctx.message);
});
b.start();