Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


rlog (version 0.1.0)

log_warn: Log a warning message

Description

Log messages will only be emitted if the log priority matches or is higher than the priority of your message

Usage

log_warn(message)

Arguments

message

your message to log

Value

invisibly returns TRUE/FALSE

Examples

Run this code
# 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