R/logger.R

Defines functions log_msg

Documented in log_msg

#' Helper function to print out log messages
#'
#' @param message Message that should be printed to R console
log_msg <- function(message) {
  if (getOption("xspliner.log", default = FALSE)) {
    cat(message, "\n")
  }
}
krystian8207/xspliner documentation built on Oct. 6, 2019, 11:02 p.m.