mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-25 16:14:02 +00:00
タグの表示を修正
This commit is contained in:
parent
0aa8003e38
commit
416a71b528
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user