var jayson = require('jayson');

// create a client
var client = jayson.client.http({
  port: 3000
});

client.request(process.argv[2], [{'foo': 'bar'}], function(err, response) {
  if(err) throw err;
  console.log(JSON.stringify(response.result)); 
});

@@ -24,16 +24,47 @@
 ayson');
+%0Avar log = require('loglevel');
 %0A%0A// cre
@@ -128,16 +128,99 @@
 00%0A%7D);%0A%0A
+client.on('http request', (req) =%3E %7B%0A%09log.debug(%22REQUEST:%22);%0A%09log.debug(req);%0A%7D);%0A%0A
 client.r

Add verbose logging to the client.