R/logging.R

Defines functions mlflow_verbose_message mlflow_is_verbose

mlflow_is_verbose <- function() {
  nchar(Sys.getenv("MLFLOW_VERBOSE")) > 0 || getOption("mlflow.verbose", FALSE)
}

mlflow_verbose_message <- function(...) {
  if (mlflow_is_verbose()) {
    message(...)
  }
}

Try the mlflow package in your browser

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

mlflow documentation built on Nov. 23, 2023, 9:13 a.m.