powered by
Log messages will only be emitted if the log priority matches or is higher than the priority of your message
log_warn(message)
your message to log
invisibly returns TRUE/FALSE
# NOT RUN { log_warn("This is a warning message") Sys.setenv("LOG_LEVEL" = "TRACE") log_warn("This is a warning message") # }
Run the code above in your browser using DataLab