set_log_level {loggit2} | R Documentation |
Set Log Level
Description
Set Log Level
Usage
set_log_level(level = "DEBUG", confirm = TRUE)
Arguments
level |
Log level to set, as a string or integer. |
confirm |
Print confirmation message of log level? |
Details
Log levels are as follows: DEBUG: 4 INFO: 3 WARNING: 2 ERROR: 1 NONE: 0
Value
Invisible the previous log level.
Examples
## Not run:
set_log_level("DEBUG")
set_log_level("INFO")
set_log_level(4)
set_log_level(3)
## End(Not run)
[Package loggit2 version 2.3.1 Index]