baniol
5/8/2014 - 6:39 AM

nodejs, appending data to file, write file

nodejs, appending data to file, write file

var writeData = JSON.stringify(data) + '@@||@@';
fs.appendFile('amq.log', writeData, function (err) {
  // console.log(err);
});