old <- logger:::namespaces_set()
log_formatter(formatter_pander)
log_info("42")
log_info(42)
log_info(4 + 2)
log_info(head(iris))
log_info(head(iris), style = "simple")
log_info(lm(hp ~ wt, mtcars))
logger:::namespaces_set(old)
Run the code above in your browser using DataLab