roku-log-bsc-plugin

0.8.1 • Public • Published

Getting started

build GitHub NPM Version

  • npm i roku-log-bsc-plugin --save-dev
  • In your projects bsconfig.json add plugins: ["roku-log-bsc-plugin"]
  • Add a section to bsconfig.json, as follows:
  "rokuLog": {
    "strip": false,
    "insertPkgPath": true,
    "removeComments": true
  },

Options

  • strip - if true, then all log calls will be removed from your app
  • insertPkgPath - if true, then the first parameter of the log message, will have the full file location added.
  • removeComments - if true, then all comments are replaced with empty lines

Package Sidebar

Install

npm i roku-log-bsc-plugin

Weekly Downloads

35

Version

0.8.1

License

ISC

Unpacked Size

55.4 kB

Total Files

11

Last publish

Collaborators

  • georgejecook