We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d9069a commit cfa5c51Copy full SHA for cfa5c51
lib/console.js
@@ -40,6 +40,9 @@ Console.prototype.log = function() {
40
Console.prototype.info = Console.prototype.log;
41
42
43
+Console.prototype.debug = Console.prototype.log;
44
+
45
46
Console.prototype.warn = function() {
47
this._stderr.write(util.format.apply(this, arguments) + '\n');
48
};
@@ -48,6 +51,9 @@ Console.prototype.warn = function() {
51
Console.prototype.error = Console.prototype.warn;
49
52
50
53
54
+Console.prototype.exception = Console.prototype.warn;
55
56
57
Console.prototype.dir = function(object, options) {
58
this._stdout.write(util.inspect(object, util._extend({
59
customInspect: false
0 commit comments