wrapped = function () {
        exports.printWarning(msg);
        return func.apply(this, arguments);
    }
Returns a function that will invoke the supplied function and print a
deprecation warning to the console each time it is called.
@param  {Function} func
@param  {string} msg
@returns {Function}