Philipp Horstenkamp f3e1a62935
All checks were successful
Lint / pre-commit Linting (push) Successful in 44s
Dependency update
2025-04-08 22:05:18 +02:00

28 lines
585 B
Markdown

[![Build Status](https://circleci.com/gh/segmentio/noop-logger.png?circle-token=3281390270513cae0e50fd18b8d972eb48a56879)](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