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

15.0.0 • Public • Published

nightingale-logger

Logger for browser and node

nightingale

To see the full documentation, go to https://www.npmjs.com/package/nightingale

To see the Logger API, go to https://christophehurpeau.github.io/nightingale/classes/nightingale_logger_src.logger.html

Install

npm install --save nightingale-logger

Levels

nightingale-levels

Usage

import Logger from 'nightingale-logger';

const logger = new Logger('mylib');

logger.info('This is a log');
logger.warn('This is a warning !');
logger.success('It works !');

/nightingale-logger/

    Package Sidebar

    Install

    npm i nightingale-logger

    Weekly Downloads

    203

    Version

    15.0.0

    License

    ISC

    Unpacked Size

    146 kB

    Total Files

    15

    Last publish

    Collaborators

    • churpeau