Add a given msg to a log file

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 idented to look like a list. If length(x) is 0, nothing is added.

log,

character the log file to update

Examples

if (FALSE) {
add.log("Some trouble occurs", c("bad resolution", "missing openings"), LOG)
}