The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Title: The 'plog' C++ Logging Library
Version: 0.2.0
Date: 2018-03-24
Description: A simple header-only logging library for C++. Add 'LinkingTo: plogr' to 'DESCRIPTION', and '#include <plogr.h>' in your C++ modules to use it.
Suggests: Rcpp
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
URL: https://github.com/krlmlr/plogr#readme
BugReports: https://github.com/krlmlr/plogr/issues
RoxygenNote: 6.0.1.9000
NeedsCompilation: no
Packaged: 2018-03-24 11:02:06 UTC; muelleki
Author: Kirill Müller [aut, cre], Sergey Podobry [cph] (Author of the bundled plog library)
Maintainer: Kirill Müller <krlmlr+r@mailbox.org>
Repository: CRAN
Date/Publication: 2018-03-25 15:25:27 UTC

plogr: The 'plog' C++ Logging Library

Description

A simple header-only logging library for C++. Add 'LinkingTo: plogr' to 'DESCRIPTION', and '#include <plogr.h>' in your C++ modules to use it.

Author(s)

Maintainer: Kirill Müller krlmlr+r@mailbox.org

Other contributors:

See Also

Useful links:

Examples

plogr_demo <- Rcpp::cppFunction(depends = "plogr", '
// C++ code begin
#include <plogr.h>

RObject plogr_demo() {
  plog::init_r(plog::info);
  LOG_INFO << "shown";
  LOG_DEBUG << "not shown";
  plog::init_r("DEBUG");
  LOG_DEBUG << "shown now";
  return R_NilValue;
}

#include <Rcpp.h> // not necessary to use plogr
// C++ code end
'
)

plogr_demo()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.