| logger.status {RnBeads} | R Documentation |
Appends a single-line status message to the log text file. The message is prepended by its type, which is one of
STATUS, INFO, WARNING or ERROR.
logger.status(txt)
logger.info(txt)
logger.warning(txt)
logger.error(txt, terminate = rnb.getOption("logging.exit.on.error"))
txt |
Text to add to the log file. This must be a |
terminate |
Flag indicating if the execution is to be terminated after this error message is added to the log. |
None (invisible NULL).
Yassen Assenov
logger.isinitializedto check if logging is activated;
logger.start for initializing a logger or starting a section
if (!logger.isinitialized())
logger.start(fname = NA)
logger.status(c("Reached step", 2))
logger.info(c("Provided email:", rnb.getOption("email")))