Skip to content

Commit

Permalink
feat(log): few changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 authored and evenstensberg committed Feb 5, 2019
1 parent 4047213 commit bc32727
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bin/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ const colors = {
BgWhite: "\x1b[47m",
};

class logger {
class Logger {
constructor(title) {
this.title;
this.title = title;
process.stdout.write(`${colors.Bright}${title} - ${colors.FgCyan}webpack-cli ${colors.Reset}\n`);
return;
}

log(message) {
Expand Down Expand Up @@ -100,4 +99,4 @@ class logger {
}
}
}
module.exports = logger;
module.exports = Logger;

0 comments on commit bc32727

Please sign in to comment.