colorful-logs

    0.1.2 • Public • Published

    colorful-logs npm

    This is a simple node module for overriding console method which in this way changes to format as seen in the example in below

    Install

    By just simply following npm default installation

    npm install colorful-logs

    Usage

    Usage is simple and fairly straight forward as it overrides console methods require colorful-logs into script...

    require('colorful-logs');

    ...then simply use console log methods like this:

    console.log('Your default logging!');//Colored White just added timestamp
    console.warn('Your warning message!');//Colored Yellow
    console.info('Your info message!');//Colored Blue
    console.success('Your success message!');//Custom added method based on log() method - Colored green
    console.error('Your error message!');

    ...Which will result in this format:

    console


    Install

    npm i colorful-logs

    DownloadsWeekly Downloads

    2

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • zeromiya