roku-log-bsc-plugin
Version:
Visual studio plugin for roku logger
24 lines (18 loc) • 1.07 kB
Markdown
# Getting started
[](https://github.com/georgejecook/roku-log-bsc-plugin/actions/workflows/build.yml)
[](https://github.com/georgejecook/roku-log-bsc-plugin/releases)
[](https://npmjs.org/package/roku-log-bsc-plugin)
- `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:
```json
"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