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

Add dist sink support #69

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

Conversation

nextsilicon-itay-bookstein
Copy link
Contributor

Hi again!

I implemented support for dist sinks (including verification that no circular references are made), and we're already using them. Was wondering whether you'd be interested. I saw that they were documented as 'not part of the use case', but I figured they might be useful for others some time or other, for grouping/aggregation within the configuration file :)

I'm a bit dissatisfied with the two dynamic casts, but alas, there is no common base class for both template instantiations that would allow me to call the relevant API, and I didn't want to propagate 'redundant' information through parameters.

@codecov
Copy link

codecov bot commented Dec 27, 2020

Codecov Report

Merging #69 (cb3e807) into master (a991861) will increase coverage by 0.19%.
The diff coverage is 92.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   88.16%   88.35%   +0.19%     
==========================================
  Files           4        4              
  Lines         566      601      +35     
==========================================
+ Hits          499      531      +32     
- Misses         67       70       +3     
Impacted Files Coverage Δ
include/spdlog_setup/details/conf_impl.h 90.26% <92.10%> (+0.10%) ⬆️

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 a991861...cb3e807. 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.

1 participant