kisl
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i kisl

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

68.5 kB

Total Files

43

Last publish

Collaborators

  • eth-p