Home

Classes

  • Logger
    • addRecord
    • alert
    • child
    • context
    • critical
    • debug
    • debugFail
    • debugSuccess
    • enter
    • error
    • exit
    • extendsContext
    • fail
    • fatal
    • info
    • infoFail
    • infoSuccess
    • infoSuccessTimeEnd
    • infoTime
    • infoTimeEnd
    • inspectValue
    • inspectVar
    • log
    • notice
    • setContext
    • success
    • time
    • timeEnd
    • trace
    • warn
    • wrap

nightingale-logger NPM version

Logger for browser and node

Build Status Travis Status Coverage API Doc

To see the full documentation, go to nightingalejs/nightingale

To see the Logger API, go to docklets or http://nightingalejs.github.io/nightingale-logger

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

Documentation generated by JSDoc 3.4.3 on Fri Dec 16 2016 10:59:09 GMT+0000 (UTC) using the Minami theme.