plogr
The 'plog' C++ Logging Library
A logging header for Rcpp packages that sat untouched for nine years, then changed how it switches on
◆Recent moves
- 9mo ago
Logging now requires PLOGR_ENABLE at compile time
Makes PLOGR_ENABLE mandatory for the library to do anything, so dependent packages must opt in explicitly rather than inheriting logging by default. A GCC fix restores return types for functions in template classes with multiple arguments. The first change to this package in nine years.
View source ↗ - 9y ago
plog 1.0-1 wrapped with an R-aware initialiser
Packages a stripped plog 1.0-1 that builds on Linux, macOS and Windows, and adds plog::init_r() to route output through REprintf() with the log level settable as a string. This is the release that defined the package's scope for the following decade.
View source ↗ - 9y ago
Severity codes accepted as strings
Accepts upper-case severity codes as strings and allows the severity filter to be changed. An ergonomic step on the way to the init_r() interface that shipped a day later.
View source ↗ - 9y ago
CI wired up, duplicate appender guard added
Adds Travis and AppVeyor builds, a guard against registering the same appender twice, package documentation, and the switch to REprintf(). Early scaffolding from the package's first week.
View source ↗