unregisterLogger | R Documentation |
Unregister a logger
unregisterLogger(x, silent = FALSE)
x |
Can either be an integer (e.g. 2 to remove the second logger), the name of the logger, or the logger object itself. |
silent |
If TRUE, no warning will be issued if the logger is not found. |
Unregisters a logger from the logging system.
Returns TRUE if the logger was removed.
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.