This commit is contained in:
parent
391b8e248a
commit
345882dba7
|
@ -1,6 +1,6 @@
|
|||
const chalk = require('chalk');
|
||||
|
||||
module.exports = class Logger {
|
||||
class Logger {
|
||||
constructor (context) {
|
||||
this.context = context;
|
||||
}
|
||||
|
@ -22,4 +22,7 @@ module.exports = class Logger {
|
|||
console.log(chalk.blue(`[DEBUG] [${this.context}]`), args);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Logger;
|
||||
|
||||
|
|
Loading…
Reference in New Issue