@dudojs/logger

1.1.6 • Public • Published

@dudojs/logger

Awesome logger with text or icon label!

Usage

/**
 * @option {Boolean} labelIcon Show label as icon or not
 * @option {String} labelPrefix Label prefix string
 * @option {String} labelPrefix Label suffix string
 */
const logger = require('@dudojs/logger')({ labelIcon, labelPrefix, labelPrefix });
logger.info('Info message');
logger.debug('Debug message');
logger.success('Success message');
logger.warn('Warning message');
logger.error('Error message');

License

Please read at here

/@dudojs/logger/

    Package Sidebar

    Install

    npm i @dudojs/logger

    Weekly Downloads

    8

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    3.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • ducdhm