Nocturnal Pumpkin Maelstrom

    @kiina/logger

    1.1.0 • Public • Published

    Logger

    This package contains a class meant to be used to presenting better logging on the console.

    Installation

    npm install @kiina/logger
    

    Usage

    const Logger = require('@kiina/logger');
    
    const logger = new Logger('MY-SCOPE');
    
    logger.debug('Debug level logs', 'foo');
    logger.error('Error level logs', 'bar');
    logger.info('Info level logs', 'baz');
    logger.start('Start level logs', 'foobar');
    logger.success('Success level logs', 'barfoo');
    logger.warning('Warning level logs', 'bazfoo');

    Keywords

    none

    Install

    npm i @kiina/logger

    DownloadsWeekly Downloads

    0

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    11.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • asalgado
    • eder_kiina
    • antunesmg
    • marcojardim