easy-console-logger-nodejs

1.1.0 • Public • Published

Easy console logger

Makes it easier to console log stuff updates: examples:

logger.warn('hello')
output: [WARNING](hello)
logger.throwError('Hello')
output: (node:1324) UnhandledPromiseRejectionWarning: Error: hello
logger.typeError('hi')
output: (node:10304) UnhandledPromiseRejectionWarning: TypeError: hi

quick example:

const logger = require('easy-console-logger-nodejs')
 
logger.log('hi')

output: hi

/easy-console-logger-nodejs/

    Package Sidebar

    Install

    npm i easy-console-logger-nodejs

    Weekly Downloads

    0

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    1.95 kB

    Total Files

    4

    Last publish

    Collaborators

    • tovade