Skip to content

Commit

Permalink
winston logger code updated
Browse files Browse the repository at this point in the history
  • Loading branch information
manishsaraan committed Sep 29, 2018
1 parent d8916c1 commit 6e86605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -68,7 +68,7 @@ function createDoc(options) {
app.options = options;

// Logger.
app.log = new (winston.Logger)({
app.log = winston.createLogger({
transports: [
new (winston.transports.Console)({
level : app.options.debug ? 'debug' : app.options.verbose ? 'verbose' : 'info',
Expand Down

0 comments on commit 6e86605

Please sign in to comment.