UNPKG

logbook

Version:

Log all data passing through process.stdout and process.stderr

24 lines (18 loc) 533 B
//log to Twitter (would be using an account set to private) // NOT IMPLEMENTED YET DUE TO 140 CHAR LIMIT // require('../').configure({ // twitter: { // enabled: true // } // }); // console.log("hello log"); // console.error("hello err"); // var Twit = require('twit'); // var T = new Twit({ // consumer_key: '...', // consumer_secret: '...', // access_token: '...', // access_token_secret: '...' // }); // T.post('statuses/update', { status: 'hello world!' }, function(err, reply) { // });