Reusable library for logging
-
Add dependency in the package.json "logutils": "https://github.com/Quixel/logutils#master"
-
How to use the logger?
- const { logger } = require('logutils/logger');
- logger.error(), logger.info() ....
-
How to use the logging plugins? { plugin: require('logutils/plugins/logError'), }, { plugin: require('logutils/plugins/logPayloads'), }