Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gianlucacandiotti/8f3d1a20e0e365da34cb389de9256665 to your computer and use it in GitHub Desktop.
Save gianlucacandiotti/8f3d1a20e0e365da34cb389de9256665 to your computer and use it in GitHub Desktop.
(function () {
var _log = console.log;
console.log = function () {
var args = Array.prototype.map.call(arguments, function (arg) {
return typeof arg.toJS === "function" ? arg.toJS() : arg;
});
return _log.apply(console, args);
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment