Skip to contents

Add a given msg to a log file

Usage

add_log(msg, x = NULL, log)

Arguments

msg

, principal part of the message to be added

x

character, secondary part of the message, will be indented to look like a list. If length(x) is 0, nothing is added.

log,

character the log file to update

Examples

if (FALSE) { # \dontrun{
add_log("Some trouble occurs", c("bad resolution", "missing openings"), LOG)
} # }