registerLogger | R Documentation |
Register a logger
registerLogger(logger)
logger |
An object of type |
Registers a logger as created using the createLogger
function to the logging system.
appender <- createConsoleAppender(layout = layoutTimestamp)
logger <- createLogger(name = "SIMPLE",
threshold = "INFO",
appenders = list(appender))
registerLogger(logger)
logTrace("This event is below the threshold (INFO)")
logInfo("Hello world")
unregisterLogger("SIMPLE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.