setLogLevel: Set Log Level
Description
Sets the rpact
log level.
Usage
setLogLevel(
logLevel = c("PROGRESS", "ERROR", "WARN", "INFO", "DEBUG", "TRACE", "DISABLED")
)
Arguments
- logLevel
The new log level to set. Can be one of
"PROGRESS", "ERROR", "WARN", "INFO", "DEBUG", "TRACE", "DISABLED".
Default is "PROGRESS".
Details
This function sets the log level of the rpact
internal log message system.
By default only calculation progress messages will be shown on the output console,
particularly getAnalysisResults
shows this kind of messages.
The output of these messages can be disabled by setting the log level to "DISABLED"
.
Examples
Run this codeif (FALSE) {
# show debug messages
setLogLevel("DEBUG")
# disable all log messages
setLogLevel("DISABLED")
}
Run the code above in your browser using DataLab