mirror of
https://github.com/JonnyBro/JaBa.git
synced 2025-01-31 22:54:10 +05:00
fix: fixing console log in debug logger
This commit is contained in:
parent
fbf79936c0
commit
cd5d1f2e66
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ export default {
|
||||||
debug(...content: unknown[]) {
|
debug(...content: unknown[]) {
|
||||||
const client = useClient();
|
const client = useClient();
|
||||||
const isProd = client.configService.get("production");
|
const isProd = client.configService.get("production");
|
||||||
console.log(isProd);
|
|
||||||
if (isProd) return;
|
if (isProd) return;
|
||||||
return console.log(`[${format(Date.now())}]: ${logLevels.DEBUG} ${content.join(" ")}`);
|
return console.log(`[${format(Date.now())}]: ${logLevels.DEBUG} ${content.join(" ")}`);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue