Skip to content

Latest commit

 

History

History
 
 

nightingale-logger

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 !");