appender_rolling | R Documentation |
This extends the futile.logger::appender.file2 adding rolling file capabilities
appender_rolling( filename, console = FALSE, inherit = TRUE, max_size = 10 * 1024 * 1024, max_files = 5, lock_file = NULL )
filename |
path of the logging file |
console |
output to console |
inherit |
inherit levels from upper level loggers |
max_size |
size in bytes before rolling (defaults 10Mb) |
max_files |
number of files to keep (defaults 5) |
lock_file |
lock file to prevent access to lock during rolling operations. If 'NULL' no locking is performed (at your own risk) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.