Comments (6)
期望得到一个开关机制,比如某读取操作已知会触发警告日志,但确实无害,那先临时关闭,读完再恢复原有日志输出逻辑,以避免正式功能应用中出现警告...
from chimee.
这个是插件才允许使用的后门。还是说提供给业务方的临时关闭措施呢?
就是说 chimee 的直接用户是否也可以调用这个规则。
from chimee.
插件才允许使用,文档里要公开的话要明确说明必须保证操作无害才可以启用... 要不这个设计的初衷就可以直接废弃了。
from chimee.
看了下,现行的方式是直接可以在 chimee-helper-log 中直接调节。其实原理上对 log 这方面确实没怎么包装。用户和插件都可以直接通过修改这个对象达到目的。
from chimee.
思考了一下,我们可以保留 chimee-helper-log 原来拥有的 log 调节功能。
另外,在 chimee 层针对插件提供一个方便调节 log 能力的接口。
如: logDowngrade 之类的。
因为涉及到各方调用。希望大家发表下自己的看法
@huzunjie @332065255 @songguangyu @yandeqiang
from chimee.
@huzunjie chimee 原有的 log 应该能满足你的需求。插件内部自己更改也是可以的。
因为之前没有将具体文档提供出来,文档在此。
from chimee.
Related Issues (20)
- An in-range update of core-js is breaking the build 🚨 HOT 1
- 视频全屏后支持竖屏还是横屏播放么 HOT 2
- An in-range update of @types/lodash is breaking the build 🚨 HOT 5
- expect that this plugin can be used in vue3/vue2 HOT 1
- Configuration x5VideoPlayerType should use 'h5-page' instead of 'h5' HOT 3
- import chimee 报错 Error: Can't resolve 'core-js/es7/global'
- 可以增加一些 react hooks 的 demo吗
- 播放器的延时会比较严重
- npm i 之后 npm start报错 无法查看效果 HOT 1
- 请问这个开源项目还有在维护吗?
- 播放不m3u8和rtmp的直播源是怎么回事
- 播放不m3u8和rtmp的直播源是怎么回事??
- pc端播放不嘞m3u8和rtmp的直播源是怎么回事???
- 能否加下支持H265视频格式
- http-flv数据正常请求却无法正常播放
- 打包之后报错:TypeError: Zn is not a function
- 请问如何支持mpeg4编码格式
- Yudz
- Uuhh
- Chimee 实例销毁无法再重建播放
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chimee.