flog.remove {futile.logger} | R Documentation |
In the event that you no longer wish to have a logger registered, use this function to remove it. Then any references to this logger will inherit the next available logger in the hierarchy.
name |
The logger name to use |
# Remove a logger
flog.remove(name)
Brian Lee Yung Rowe
flog.threshold(ERROR, name='my.logger') flog.info("Won't print", name='my.logger') flog.remove('my.logger') flog.info("Will print", name='my.logger')