may appear crude but why not set the url as a variable and then output it? See code below
var Xray = require('x-ray');
var x = Xray();
var url = 'http://www.wirdgroup.com' ;
x(url, 'title')(function(err, result) {
console.log ('Connecting to ' + url);
console.log('error is ' + err);
console.log('result is ' + result);
})
may appear crude but why not set the url as a variable and then output it? See code below