https://github.com/segmentio/noop-logger
A logger that does exactly nothing.
https://github.com/segmentio/noop-logger
Last synced: 5 months ago
JSON representation
A logger that does exactly nothing.
- Host: GitHub
- URL: https://github.com/segmentio/noop-logger
- Owner: segmentio
- Archived: true
- Created: 2014-02-28T03:56:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-02-16T16:40:47.000Z (over 10 years ago)
- Last Synced: 2025-12-26T16:38:10.694Z (6 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 4
- Watchers: 36
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
[](https://circleci.com/gh/segmentio/noop-logger)
# 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