Learn R Programming

lgr (version 0.4.1)

AppenderFileRotatingDate: Log to a date-stamped rotating file

Description

This is a simpler version of AppenderFileRotatingTime when the timestamps do not need to include sub-day accuracy.

Arguments

Super classes

lgr::Filterable -> lgr::Appender -> lgr::AppenderFile -> lgr::AppenderFileRotating -> AppenderFileRotatingDate

Methods

Public methods

Method new()

Usage

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,
  create_file = TRUE,
  cache_backups = TRUE
)

Method clone()

The objects of this class are cloneable with this method.

Usage

AppenderFileRotatingDate$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

AppenderFileRotatingTime, AppenderFileRotating, rotor::rotate()

Other Appenders: AppenderBuffer, AppenderConsole, AppenderFileRotatingTime, AppenderFileRotating, AppenderFile, AppenderTable, Appender