module.exports.configureLogging = function()

in lib/appium/helpers/wdHelper.js [166:180]


module.exports.configureLogging = function (driver) {
    if (!global.VERBOSE) return;

    driver.on('status', function (info) {
        console.log(info);
    });

    driver.on('command', function (meth, path, data) {
        console.log(' > ' + meth, path, data || '');
    });

    driver.on('http', function (meth, path, data) {
        console.log(' > ' + meth, path, data || '');
    });
};