0.1.2 • Published 4 years ago
kisl v0.1.2
kisl
A simple, no-bells, no-whistles NodeJS TypeScript logger that follows the KISS principle.
Features
- Small dependency tree.
- Simple setup.
- Easy to extend.
- ANSI colors (when printing to terminal).
- Supports the NO_COLOR standard.
Supports the
DEBUG=[module]
environment variable.
Usage
When used in a program, kisl is meant to be extremely simple to set up. It doesn't support logging to files, file rotation, or anything complex like sending log events to a remote location.
It's as easy to use as this:
const logger = require('kisl')();
logger.info('Hello, world!');
For more advanced usage, check out the advanced setup example.