lib/helpers/bunyan.js
function clientRes(res) {
    if (!res || !res.statusCode) {
        return (res);
    }

    return ({
        statusCode: res.statusCode,
        headers: res.headers
    });
}
function clientRes(res) {
    if (!res || !res.statusCode) {
        return (res);
    }

    return ({
        statusCode: res.statusCode,
        headers: res.headers
    });
}
function clientRes ( res ) { if ( ! res || ! res . statusCode ) { return ( res ) ; } return ( { statusCode : res . statusCode , headers : res . headers } ) ; }
a response serializer. returns a stripped down object for logging.
@private
@function clientRes
@param    {Object} res the response object
@returns  {Object}
a response serializer . returns a stripped down object for logging .