disable-js-log

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i disable-js-log

Weekly Downloads

3

Version

1.1.0

License

Apache-2.0

Unpacked Size

14.5 kB

Total Files

6

Last publish

Collaborators

  • prolincur