Abstract class for logging to tabular structures
AppenderTable is extended by Appenders that write to a data
source that can be interpreted as tables, (usually a data.frame
). Examples
are AppenderDbi
, AppenderRjdbc
and AppenderDt
from the
lgrExtra package.
lgr::Filterable
-> lgr::Appender
-> AppenderTable
data
character
scalar. Contents of the table, parsed to a
data.frame
.
data
character
scalar. Like $data
, but returns a data.table
instead (requires the data.table package).
new()
AppenderTable$new(...)
show()
Show recent log entries
AppenderTable$show(threshold = NA_integer_, n = 20L)
threshold
an integer
or character
threshold.
Only show events with a log level at or below this threshold.
n
a positive integer
scalar. Show at most that many entries
format()
AppenderTable$format(color = FALSE, ...)
Other abstract classes:
AppenderMemory
,
Appender
,
Filterable
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.