Skip to content

Commit

Permalink
fix(logging): use default bunyan serializers
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff committed May 24, 2020
1 parent 4f03946 commit 4eb58ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const packageInfo = require('../package');

const logger = bunyan.createLogger({
name: packageInfo.name,
level: configFile.logger.silent ? bunyan.FATAL + 1 : configFile.logger.level
level: configFile.logger.silent ? bunyan.FATAL + 1 : configFile.logger.level,
serializers: bunyan.stdSerializers
});

// A helper to flatten the nested object. Copypasted from Google.
Expand Down

0 comments on commit 4eb58ce

Please sign in to comment.