Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 431 Bytes

File metadata and controls

19 lines (15 loc) · 431 Bytes

logutils

Reusable library for logging

Usage

  • 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'), }