powered by
Add the default console logger
addDefaultConsoleLogger(name = "DEFAULT_CONSOLE_LOGGER")
A name for the logger.
Creates a logger that writes to the console using the "INFO" threshold and the layoutSimple layout.
layoutSimple
logger <- addDefaultConsoleLogger() logTrace("This event is below the threshold (INFO)") logInfo("Hello world") unregisterLogger(logger)
Run the code above in your browser using DataLab