logger: try 3
This commit is contained in:
parent
798a71ae1b
commit
8a826cb0d5
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ function baseLogger(prefix, level, ...message) {
|
|||
|
||||
out += `${color("magenta")}[${prefix}] ${color("default")}`;
|
||||
|
||||
out += [...message].map((m) => m.toString()).join(" ");
|
||||
out += [...message].map((m) => m?.toString()).join(" ");
|
||||
|
||||
console.log(out);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue