Created
May 8, 2014 06:39
-
-
Save baniol/f177b0d22fcec1a55b53 to your computer and use it in GitHub Desktop.
nodejs, appending data to file, write file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var writeData = JSON.stringify(data) + '@@||@@'; | |
fs.appendFile('amq.log', writeData, function (err) { | |
// console.log(err); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment