-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新增interceptTransform 方法的meta参数 #12
base: master
Are you sure you want to change the base?
Conversation
<!-- Thank you for your pull request. Please review below requirements. Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md 感谢您贡献代码。请确认下列 checklist 的完成情况。 Bug 修复和新功能必须包含测试,必要时请附上性能测试。 Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md --> ##### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines ##### Affected core subsystem(s) <!-- Provide affected core subsystem(s). --> ##### Description of change <!-- Provide a description of the change below this comment. -->
transform function can modify and filter logs
which is the original arguments when call log method
Codecov Report
@@ Coverage Diff @@
## master #12 +/- ##
===========================================
- Coverage 100% 33.33% -66.67%
===========================================
Files 4 4
Lines 48 48
===========================================
- Hits 48 16 -32
- Misses 0 32 +32
Continue to review full report at Codecov.
|
加一个测试用例 |
把文档也加上吧 |
|
这个没办法,因为 ci 用的是我的 token |
你可以去阿里云开通一个 sls,设置这几个变量就可以了,测试的流量基本上不要钱。
|
Checklist
npm test
passesAffected core subsystem(s)
Description of change