R/Log.R

Defines functions Log

Documented in Log

#' Small function for printing progress of parallel processes
#'
#' @param text Input text
#' @param ... additional parameters passed on to sprintf
#' @importFrom utils write.socket
#' @keywords resampling, fcm
#' Log(x)

Log <- function(text, ...) {
  msg <- sprintf(paste0(as.character(Sys.time()), ": ", text, "\n"), ...)
  cat(msg)
  write.socket(log.socket, msg)
}
rprops/Phenoflow_package documentation built on Sept. 22, 2020, 5:43 p.m.