createConsoleAppender | R Documentation |
Create console appender
createConsoleAppender(layout = layoutSimple)
layout |
The layout to be used by the appender. |
Creates an appender that will write to the console.
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.