Wrapper to set the level of a logger

qgert_log_level(
  plogger,
  ps_level = c("DEBUG", "INFO", "WARN", "ERROR", "FATAL")
)

Arguments

plogger

log4r logger object

ps_level

new level of plogger

Examples

if (FALSE) {
qgert_logger <- get_qgert_logger()
qgert_log_level(qgert_logger, 'INFO')
}