log_warn: Log a warning message

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

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

Usage

1

Arguments

message

your message to log

Value

invisibly returns TRUE/FALSE

Examples

1
2
3
4
5
6
## Not run: 
log_warn("This is a warning message")
Sys.setenv("LOG_LEVEL" = "TRACE")
log_warn("This is a warning message")

## End(Not run)

rlog documentation built on Feb. 24, 2021, 5:08 p.m.