@jscriptlogger/lib

0.0.16 • Public • Published

jscriptlogger/lib

Description

A beautiful and lightweight wrapper for the old and good console.log.

Usage

import Logger from '@jscriptlogger/lib';

const logger = new Logger(['A'], {
  root: null,
  logLevel: LogLevel.Log,
  console,
});

logger.at('B').log('this is a log');
// the same as
console.log('A/B: this is a log');

Installation

yarn add @jscriptlogger/lib

Readme

Keywords

none

Package Sidebar

Install

npm i @jscriptlogger/lib

Weekly Downloads

0

Version

0.0.16

License

MIT

Unpacked Size

24.5 kB

Total Files

38

Last publish

Collaborators

  • vqueiroz