タグの表示を修正

This commit is contained in:
ろむねこ 2024-06-18 11:28:02 +09:00
parent 0aa8003e38
commit 416a71b528
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -27,19 +27,19 @@ class Logger {
}
info = (message: string) => {
console.log(chalk.blue('[INFO ]') + ' ' + this.tagString() + ':\t' + message);
console.log(chalk.blue('[ INFO ]') + ' ' + this.tagString() + ':\t' + message);
}
warn = (message: string) => {
console.log(chalk.yellow('[WARN ]') + ' ' + this.tagString() + ':\t' + message);
console.log(chalk.yellow('[ WARN ]') + ' ' + this.tagString() + ':\t' + message);
}
error = (message: string) => {
console.log(chalk.red('[ERROR]') + ' ' + this.tagString() + ':\t' + message);
console.log(chalk.red('[ERROR ]') + ' ' + this.tagString() + ':\t' + message);
}
debug = (message: string) => {
console.log(chalk.gray('[DEBUG]' + ' ' + this.tagString() + ':\t' + message));
console.log(chalk.gray('[DEBUG ]' + ' ' + this.tagString() + ':\t' + message));
}
success = (message: string) => {