logger_config()
is an S3 constructor for logger_config
objects
that can be passed to the $config
method of a Logger. You
can just pass a normal list
instead, but using this constructor is
a more formal way that includes additional argument checking.
logger_config(
appenders = NULL,
threshold = NULL,
filters = NULL,
exception_handler = NULL,
propagate = TRUE
)
as_logger_config(x)
# S3 method for list
as_logger_config(x)
# S3 method for character
as_logger_config(x)
see Logger
see Logger
see Logger
see Logger
see Logger
any R object. Especially:
A character
scalar. This can either be the path to a
YAML file or a character scalar containing valid YAML
a list containing the elements appenders
, threshold
, exception_handler
,
propagate
and filters
. See the section Fields in Logger for
details.
a Logger object, to clone its configuration.
a list
with the subclass "logger_config"
a logger_config object