This function uses trace
to add a log_warn
function call when warning
is called to log the warning messages with the logger
layout and appender.
log_warnings(muffle = getOption("logger_muffle_warnings", FALSE))
if TRUE, the warning is not shown after being logged