Usage
set_log_level(level = "INFO")
Arguments
- level
Logging level to use. Can be a character string
("TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "FATAL", "OFF") or a numeric level
constant from the futile.logger package.
Value
Invisibly returns the numeric log level.
Details
Typical usage:
set_log_level("INFO") - default, hides debug messages.
set_log_level("DEBUG") - show detailed per-batch timing and ROI diagnostics.
set_log_level("WARN") - only warnings and errors.
This affects all rMVPA logging performed via futile.logger.
Examples
if (FALSE) { # \dontrun{
rMVPA::set_log_level("DEBUG")
rMVPA::set_log_level("WARN")
} # }