Log to a date-stamped rotating file
Log to a date-stamped rotating file
Log to a date-stamped rotating file
This is a simpler version of AppenderFileRotatingTime when the timestamps do not need to include sub-day accuracy.
lgr::Filterable -> lgr::Appender -> lgr::AppenderFile -> lgr::AppenderFileRotating -> AppenderFileRotatingDate
new()
AppenderFileRotatingDate$new( file, threshold = NA_integer_, layout = LayoutFormat$new(), filters = NULL, age = Inf, size = -1, max_backups = Inf, compression = FALSE, backup_dir = dirname(file), fmt = "%Y-%m-%d", overwrite = FALSE, cache_backups = TRUE, create_file = NULL )
size, age, max_backups, compression, backup_dir, fmt, overwrite, cache_backupssee rotor::rotate_date() for the meaning of these arguments. Note that
fmt corresponds to format (because $format has a special meaning
for R6 classes).
clone()
The objects of this class are cloneable with this method.
AppenderFileRotatingDate$clone(deep = FALSE)
deepWhether to make a deep clone.
Other Appenders: 
AppenderBuffer,
AppenderConsole,
AppenderFileRotatingTime,
AppenderFileRotating,
AppenderFile,
AppenderTable,
Appender
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.