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

View source: R/jobLog.R

jobLogR Documentation

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.

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

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.


MotusWTS/motusServer documentation built on Aug. 8, 2024, 10:23 p.m.