log4r_step() function can be used as an action in the
function (as a list component for the
fns list). Place a call to this
function in every failure condition that should produce a log (i.e.,
notify). Only the failure condition with the highest severity for a
given validation step will produce a log entry (skipping failure conditions
with lower severity) so long as the call to
log4r_step() is present.
log4r_step(x, message = NULL, append_to = "pb_log_file")
A reference to the x-list object prepared by the
The message to use for the log entry. When not provided, a
default glue string is used for the messaging. This is dynamic since the
The file to which log entries at the warn level are appended. This can alternatively be one or more log4r appenders.