Version 0.0.13 of RcppSpdlog is now on CRAN and will be soon be uploaded to Debian too. RcppSpdlog bundles spdlog, a wonderful header-only C++ logging library with all the bells and whistles you would want that was written by Gabi Melman, and also includes fmt by Victor Zverovich. You can learn more at the package documention site.
This release adds a small (but handy) accessor generalisation:
Instead of calling
setup() with two arguments for a label
and the logging level we now only require the desired level. We also
cleaned up one implementation detail for the
feature added in January, and simplified the default C++ compilation
The NEWS entry for this release follows.
Changes in RcppSpdlog version 0.0.13 (2023-06-17)
Minor tweak to
stopwatchsetup avoids pulling in fmt
No longer set a C++ compilation standard as the default choices by R are sufficient for the package
Add convenience wrapper
log_initomitting first argument to
log_setupwhile preserving the interface from the latter
logto API header file
If you like this or other open-source work I do, you can sponsor me at GitHub.