Fix tag
This commit is contained in:
parent
50c1f3301e
commit
4160be30b9
1 changed files with 3 additions and 2 deletions
|
@ -70,8 +70,9 @@ const logInfo = (...params: unknown[]) => {
|
||||||
const message = params
|
const message = params
|
||||||
.map((p) => (typeof p == "string" ? p : util.inspect(p)))
|
.map((p) => (typeof p == "string" ? p : util.inspect(p)))
|
||||||
.join(" ");
|
.join(" ");
|
||||||
log.info(`[main] ${message}`);
|
const m = `[info] ${message}`;
|
||||||
if (isDev) console.log(`[info] ${message}`);
|
if (isDev) console.log(m);
|
||||||
|
log.info(`[main] ${m}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
const logDebug = (param: () => unknown) => {
|
const logDebug = (param: () => unknown) => {
|
||||||
|
|
Loading…
Reference in a new issue