R/mmstat.log.R

#' mmstat.log
#'
#' Writes a message into the internal log.
#'
#' @param txt character: message to write
#'
#' @return nothing
#' @export
#'
#' @examples
#' mmstat.log("Test")
mmstat.log  <- function (txt) {
  if (mmstat$debug>1) mmstat$log <- cbind(sprintf("%s (Info): %s", date(), txt), mmstat$log)
}

Try the HKRbook package in your browser

Any scripts or data that you put into this service are public.

HKRbook documentation built on Oct. 6, 2022, 9:06 a.m.