setup_log_level {loggit2} | R Documentation |
This function retrieves the log level from the environment variable "LEVEL_LOGGIT2". If the environment variable is set, it will be used as the log level. If the environment variable is not set, the log level will be set to the default value.
setup_log_level()
The environment variable must be set to one of: "DEBUG", "INFO", "WARN", "ERROR" or "NONE".
Invisible the previous log level.