Control the global logging level for the moma package.
moma_logger_level(level = c("ERROR", "WARNING", "MESSAGE", "INFO", "DEBUG"))
| level | The desired new log level. Available levels are
If omitted, the log level is not changed (and the current level is still returned invisibly.) See below for details about the different levels. |
|---|
The previous log level (invisibly).
The moma package has a multi-level logging system, with a single
global log level; (which applies to both R and C++ level
functionality.) the levels are, in decreasing order, ERROR,
WARNING, MESSAGE (default), INFO, DEBUG.
To change the amount of output from the moma package, the
moma_logger_level function can be used to adjust the global
log level. The INFO and DEBUG levels can be quite verbose
and may significantly slow down the package.