Log messages will only be emitted if the log priority matches or is higher than the priority of your message
log_error(message)
message | your message to log |
---|
invisibly returns TRUE/FALSE
if (FALSE) { log_error("This is an error message") Sys.setenv("LOG_LEVEL" = "TRACE") log_error("This is an error message") }