jobLog: Add a message to the log for a job. Log messages are saved...

Description Usage Arguments Value

Description

Add a message to the log for a job. Log messages are saved in either the "summary_" field in the top-level ancestor of the job (for summary messages), or in the job's own "log_" field, for detailed messages.

Usage

1
jobLog(j, msg, summary = FALSE)

Arguments

j

the job

msg

character vector of messages

summary

logical scalar; if TRUE, the message is added to the summary field; otherwise, the default, it is added to the log field.

Value

invisible(NULL)

The messages in msg are joined with "\n" and appended to any already existing for this job.


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.