Learn R Programming

rpact (version 3.0.4)

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 this messages can be disabled by setting the log level to "DISABLED".

See Also

Examples

Run this code
# NOT RUN {
# show debug messages
setLogLevel("DEBUG")

# disable all log messages
setLogLevel("DISABLED")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab