plogr

Header files for a stripped-down version of the plog header-only C++ logging library, and a method to log to R's standard error stream.

Compatibility updates by Renova.

Version 0.2.0.9001 makes two changes. Record::operator<<(wchar_t) in inst/include/plog/Record.h now inserts the address of its temporary buffer directly (m_message << static_cast<const void*>(str)) instead of recursing through *this << str, which no longer compiles under C++20. The output stays what it was in earlier C++ standards, the pointer address of that buffer rather than the wide character. The stale optional Date field was removed from DESCRIPTION.

Install

From R-universe:

install.packages("plogr", repos = c(
  Renova = "https://renova-r.r-universe.dev",
  CRAN = "https://cloud.r-project.org"
))

Or the exact release tag:

install.packages("remotes")
remotes::install_github("renova-r/plogr@renova-0.2.0.9001")

Release notes · Renova package directory

plogr was written by Kirill Müller (maintainer); the bundled plog library is by Sergey Podobry. License: MIT + file LICENSE (see LICENSE and LICENSE.md); the plog headers carry their own notice.