@keystonejs/logger
Common logging functionality used within @keystonejs/* packages.
Last updated 2 months ago by timl .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @keystonejs/logger 
SYNC missed versions from official npm registry.

Logger

Deprecation notice This module is no longer maintained. Please directly use pino or the logging library of your choice.

API

require('@keystonejs/logger').logger(name)

Provides an instance of pino based on the given name.

Instances are cached and re-used, making it safe to request the same named instance across multiple files.

process.env.DISABLE_LOGGING

When set to any "truthy" value, will prevent any log output from occurring (particularly useful during test runs).

Current Tags

  • 6.0.0                                ...           latest (2 months ago)

6 Versions

  • 6.0.0                                ...           2 months ago
  • 5.1.3                                ...           2 months ago
  • 5.1.2                                ...           5 months ago
  • 5.1.1                                ...           8 months ago
  • 5.1.0                                ...           8 months ago
  • 5.0.0                                ...           a year ago
Downloads
Today 0
This Week 5
This Month 54
Last Day 0
Last Week 9
Last Month 145
Dependencies (3)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |