fix(events/developper): now using the correct fd / console methode
This commit is contained in:
parent
3571cd8bb7
commit
6b62e8e24e
3 changed files with 5 additions and 3 deletions
|
|
@ -6,6 +6,8 @@ export default {
|
||||||
name: Events.Debug,
|
name: Events.Debug,
|
||||||
once: false,
|
once: false,
|
||||||
async execute(info: string) {
|
async execute(info: string) {
|
||||||
if (isDebug) {console.debug(chalk.blueBright('🔍 |', info));}
|
if (isDebug) {
|
||||||
|
console.debug(chalk.blueBright('🔍 |', info));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ export default {
|
||||||
name: Events.Error,
|
name: Events.Error,
|
||||||
once: false,
|
once: false,
|
||||||
async execute(error: string) {
|
async execute(error: string) {
|
||||||
console.debug(chalk.yellow('❌ |', error));
|
console.error(chalk.red('❌ |', error));
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@ export default {
|
||||||
name: Events.Warn,
|
name: Events.Warn,
|
||||||
once: false,
|
once: false,
|
||||||
async execute(warn: string) {
|
async execute(warn: string) {
|
||||||
console.debug(chalk.yellow('⚠️ |', warn));
|
console.warn(chalk.yellow('⚠️ |', warn));
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue