AdguardTeam / AdguardTeam/Scriptlets
Replace "verbose" flag with an option to supply custom Logger implementation
オープン
enhancement
- 主要言語
- JavaScript
- スター
- 195
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, the scriptlets library allows supplying a `verbose` flag that controls whether the scriptlet should write verbose output to the console.
I suggest replacing that flag with the ability to supply custom `Logger` implementation and encapsulate this logic inside.
Something simple like that:
```
interface Logger {
debug()
info()
error()
}
```
This will also require changing the CoreLibs and the extensions content script accordingly.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。