Skip to content
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

feat: support topic and source config #14

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

miaochuanjie
Copy link

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

增加 topic 和 source 配置,透传给 egg-sls

popomore and others added 18 commits August 26, 2018 12:27
<!--
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
Copy link

codecov bot commented Jan 10, 2019

Codecov Report

Merging #14 into master will decrease coverage by 70.58%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #14       +/-   ##
===========================================
- Coverage     100%   29.41%   -70.59%     
===========================================
  Files           4        4               
  Lines          50       51        +1     
===========================================
- Hits           50       15       -35     
- Misses          0       36       +36
Impacted Files Coverage Δ
config/config.default.js 100% <ø> (ø) ⬆️
lib/sls_logger_client.js 20% <0%> (-80%) ⬇️
lib/sls_transport.js 33.33% <0%> (-66.67%) ⬇️
app.js 33.33% <0%> (-66.67%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ab236a...6fb3097. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants