# Level constants are named integers
c(FATAL, ERROR, WARN, INFO, DEBUG, TRACE)
names(INFO)
# Show INFO and higher messages in the console
logger.setup()
logger.setLevel(INFO)
logger.info("Console logging is now enabled for INFO")
Run the code above in your browser using DataLab