addDefaultConsoleLogger {ParallelLogger} | R Documentation |
Add the default console logger
addDefaultConsoleLogger(name = "DEFAULT_CONSOLE_LOGGER")
name |
A name for the logger. |
Creates a logger that writes to the console using the "INFO" threshold and the
layoutSimple
layout.
logger <- addDefaultConsoleLogger()
logTrace("This event is below the threshold (INFO)")
logInfo("Hello world")
unregisterLogger(logger)