lib/logger.js
function logDiffText(diff, options) {
    var diffText = getDiffText(diff, options);

    if (diffText) {
        console.log(inverseGreen('+ expected'), inverseRed('- actual'), '\n',  diffText);
    }
}
function logDiffText(diff, options) {
    var diffText = getDiffText(diff, options);

    if (diffText) {
        console.log(inverseGreen('+ expected'), inverseRed('- actual'), '\n',  diffText);
    }
}
function logDiffText ( diff , options ) { var diffText = getDiffText ( diff , options ) ; if ( diffText ) { console . log ( inverseGreen ( '+ expected' ) , inverseRed ( '- actual' ) , '\n' , diffText ) ; } }
Logs the diff of the given HTML docs to the console
@param {Object[]} diff
@param {Object} [options]
@param {Number} [options.charsAroundDiff=40]
Logs the diff of the given HTML docs to the console