R/spark_setloglevel.R

Defines functions spark_setloglevel

# not work
spark_setloglevel <- function(sc, loglevel = "ERROR"){
  loglevel <- ensure_scalar_character(loglevel)
  spark_context(sc) %>%
    invoke("setLogLevel", loglevel)
}
environment(spark_setloglevel) <- asNamespace('sparklyr')
catlain/sparklyrfun documentation built on Jan. 21, 2018, 4:11 a.m.