Fix derp in new logger (#283)
Chose to rename to `error` as that's what's used everywhere and what the `console` object would expose, so it's more of a drop-in replacement.
This commit is contained in:
parent
21fb0e0709
commit
12c88debf4
@ -14,7 +14,7 @@ function timestamp(type, messageArgs) {
|
||||
return messageArgs;
|
||||
}
|
||||
|
||||
exports.err = function() {
|
||||
exports.error = function() {
|
||||
console.error.apply(console, timestamp(colors.red("[ERROR]"), arguments));
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user