Skip to content

A simple utility to disable console logs in JavaScript app

License

Notifications You must be signed in to change notification settings

prolincur/disable-js-log

Repository files navigation

disable-js-log

A simple utility to disable console logs in JavaScript application

Install

yarn add disable-js-log

Usage

     import disableJsLogger from './disable-js-log/dist/lib.js'

      // Disable log and debug
      disableJsLogger('log', 'debug')
      console.log('Log will not be visible on console')
      console.debug('Debug will not be visible on console')

      console.error('Error will be visible, but not log/debug')

Author

Prolincur Technologies

About

A simple utility to disable console logs in JavaScript app

Resources

License

Stars

Watchers

Forks

Releases

No releases published