Getting started
npm i roku-log-bsc-plugin --save-dev
- In your projects
bsconfig.json
addplugins: ["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