nightingale-logger

Logger for browser and node

Usage no npm install needed!

<script type="module">
  import nightingaleLogger from 'https://cdn.skypack.dev/nightingale-logger';
</script>

README

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