noop-logger

0.1.1 • Public • Published

Build Status

noop-logger

A logger that does exactly nothing, useful when you want to test modules that require a logger to be passed in.

Installation

$ npm install noop-logger

API

Exposes the following noops:

  • logger.debug
  • logger.info
  • logger.warn
  • logger.error
  • logger.critical
  • logger.alert
  • logger.emergency
  • logger.notice
  • logger.fatal

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i noop-logger

Weekly Downloads

564,071

Version

0.1.1

License

MIT

Last publish

Collaborators

  • segment-admin
  • segmentio