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

[c++,r] Simplify spdlog setup for use from R #421

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

eddelbuettel
Copy link
Contributor

@eddelbuettel eddelbuettel commented Oct 17, 2022

This PR simplifies the use of spdlog by the R package. The RcppSpdlog has been used as it provides a logging sink for R along with vendored copies of spdlog (and fmt).

For use in context where these two libraries are present -- as with TileDB-SOMA -- we do not need the added versions so a (much simpler) declaration of just the sink is sufficient. This is now added in a new header file, and the two logger instances referencing the header are updated.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #22469: Simplify spdlog setup for builds with spdlog.

@eddelbuettel eddelbuettel marked this pull request as ready for review October 17, 2022 12:01
@eddelbuettel eddelbuettel force-pushed the de/sc-22469/simpler_spdlog_setup branch from a50c32b to d520692 Compare October 17, 2022 15:51
@eddelbuettel eddelbuettel merged commit 269af54 into main Oct 17, 2022
@eddelbuettel eddelbuettel deleted the de/sc-22469/simpler_spdlog_setup branch October 17, 2022 16:23
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