Last active
May 9, 2019 21:07
-
-
Save RReverser/0a7caa89b465d1ed0c96 to your computer and use it in GitHub Desktop.
Revisions
-
RReverser revised this gist
May 22, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ // UPD: // Now available as npm module! // Check out https://github.com/RReverser/better-log for details. console.log = (function (log, inspect) { return function () { return log.apply(this, Array.prototype.map.call(arguments, function (arg) { -
RReverser revised this gist
May 22, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ console.log = (function (log, inspect) { return function () { return log.apply(this, Array.prototype.map.call(arguments, function (arg) { return inspect(arg, { depth: 1, colors: true }); })); }; })(console.log, require("util").inspect); -
RReverser renamed this gist
May 22, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
RReverser created this gist
May 22, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ console.log = (function (log, inspect) { return function () { return log.apply(this, Array.prototype.map.call(arguments, function (arg) { return require("util").inspect(arg, { depth: 1, colors: true }); })); }; })(console.log, util.inspect);