R/log_debug.R

Defines functions log_debug

Documented in log_debug

#' @title Log debug
#'
#' @description Simple helper for debugging
#'
#' @param ... one or more values to be logged
#'
#' @return Message for debugging
#'
#' @export
#'
#' @examples log_debug("This is a debug message")
log_debug <- function(...) {
  ## Concatenate the current time, the specified values,
  ## and a newline character and print it
  cat(paste(Sys.time(), ..., "\n"))
}
taxonomicallyinformedannotation/tima-r documentation built on July 17, 2024, 7:11 p.m.