R/myLog.R

Defines functions myLog

Documented in myLog

#' Custom logging function for scripts
#'
#' @param title The title in the log output
#' @param ... Any additional outputs or words to be plotted
#' @export
#' @author Martin Jung

myLog <- function(title = "[Processing] ",...) {
  cat(paste0(title, Sys.time(), " | ", ..., "\n"))
}
Martin-Jung/naturepackage documentation built on Nov. 22, 2019, 12:04 a.m.