@kiina/logger

This package contains a class meant to be used to presenting better logging on the console.

Stats

StarsIssuesVersionUpdatedCreatedSize
@kiina/logger
1.1.03 years ago3 years agoMinified + gzip package size for @kiina/logger in KB

Readme

Logger

This package contains a class meant to be used to presenting better logging on the console.

Installation

npm install @kiina/logger

Usage

const Logger = require('@kiina/logger');

const logger = new Logger('MY-SCOPE');

logger.debug('Debug level logs', 'foo');
logger.error('Error level logs', 'bar');
logger.info('Info level logs', 'baz');
logger.start('Start level logs', 'foobar');
logger.success('Success level logs', 'barfoo');
logger.warning('Warning level logs', 'bazfoo');

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.