We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4047213 commit bc32727Copy full SHA for bc32727
bin/log.js
@@ -24,11 +24,10 @@ const colors = {
24
BgWhite: "\x1b[47m",
25
};
26
27
-class logger {
+class Logger {
28
constructor(title) {
29
- this.title;
+ this.title = title;
30
process.stdout.write(`${colors.Bright}${title} - ${colors.FgCyan}webpack-cli ${colors.Reset}\n`);
31
- return;
32
}
33
34
log(message) {
@@ -100,4 +99,4 @@ class logger {
100
99
101
102
103
-module.exports = logger;
+module.exports = Logger;
0 commit comments