logger_config {lgr} | R Documentation |
Logger Configuration Objects
Description
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.
Usage
logger_config(
appenders = NULL,
threshold = NULL,
filters = NULL,
exception_handler = NULL,
propagate = TRUE
)
as_logger_config(x)
## S3 method for class 'list'
as_logger_config(x)
## S3 method for class 'character'
as_logger_config(x)
Arguments
appenders |
see Logger |
threshold |
see Logger |
filters |
see Logger |
exception_handler |
see Logger |
propagate |
see Logger |
x |
any R object. Especially:
|
Value
a list
with the subclass "logger_config"
a logger_config object
See Also
[Package lgr version 0.4.4 Index]