mirror of
https://github.com/thelounge/thelounge
synced 2024-11-30 07:50:34 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ function timestamp(type, messageArgs) {
|
||||||
return messageArgs;
|
return messageArgs;
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.err = function() {
|
exports.error = function() {
|
||||||
console.error.apply(console, timestamp(colors.red("[ERROR]"), arguments));
|
console.error.apply(console, timestamp(colors.red("[ERROR]"), arguments));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue