Skip to content

Commit bc32727

Browse files
rishabh3112evenstensberg
authored andcommitted
feat(log): few changes
1 parent 4047213 commit bc32727

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎bin/log.js‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ const colors = {
2424
BgWhite: "\x1b[47m",
2525
};
2626

27-
classlogger{
27+
classLogger{
2828
constructor(title){
29-
this.title;
29+
this.title=title;
3030
process.stdout.write(`${colors.Bright}${title} - ${colors.FgCyan}webpack-cli ${colors.Reset}\n`);
31-
return;
3231
}
3332

3433
log(message){
@@ -100,4 +99,4 @@ class logger {
10099
}
101100
}
102101
}
103-
module.exports=logger;
102+
module.exports=Logger;

0 commit comments

Comments
 (0)