https://github.com/microdroid/good-logger
A good logger because console.log is NOT good!
https://github.com/microdroid/good-logger
fancy logging logging-library nodejs
Last synced: 2 months ago
JSON representation
A good logger because console.log is NOT good!
- Host: GitHub
- URL: https://github.com/microdroid/good-logger
- Owner: MicroDroid
- License: mit
- Created: 2018-09-21T07:26:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T07:43:36.000Z (over 7 years ago)
- Last Synced: 2025-01-20T14:53:03.318Z (about 1 year ago)
- Topics: fancy, logging, logging-library, nodejs
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
good-logger
===========
[](https://nodei.co/npm/good-logger/)
This logger ain't like any logger. It's a good logger. `console.log` is bad. `good-logger` is good. Stop using a bad logger. Stop using `console.log`. Please use a good logger. Please use `good-logger`.
- `process.env.LOGGING = false` disables logging.

```JavaScript
const logger = require('good-logger');
logger.info('Use this when you want to log non-sense');
logger.warn('Use this when something wrong goes but you just don\'t want to call it an error');
logger.err('Use this when you make a grave mistake in your code');
logger.recv('Use this with things like webservers (receiving a request) or a bot (receiving a message)');
logger.sql('Use this if you use some SQL and you want to log it nicely');
```