logger: try 3

This commit is contained in:
Cynthia Foxwell 2022-10-09 12:46:18 -06:00
parent 798a71ae1b
commit 8a826cb0d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}