How to use the fancy-log.call function in fancy-log

To help you get started, we’ve selected a few fancy-log examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github smontanari / code-forensics / lib / utils / log.js View on Github external
module.exports = function(s) {
  if (!process.env.LOG_DISABLED) {
    fancylog.call(null, s);
  }
};

fancy-log

Log things, prefixed with a timestamp.

MIT
Latest version published 2 years ago

Package Health Score

73 / 100
Full package analysis