For details please refer to vignette("lgr", package = "lgr")
You can also set these options in your .Rprofile
to make them permanent
lgr.colors
a list
of functions
used for coloring the log
levels in console output. Usually these will be functions from the
package crayon
lgr.log_levels
A named integer
vector of log levels that are
known to lgr for labeling, setting thresholds, etc... . Instead of
modifying this option manually use add_log_levels()
and
remove_log_levels()
lgr.suspend_logging
TRUE
or FALSE
. Suspend all logging for
all loggers. Instead of modifying this option manually use
suspend_logging()
and unsuspend_logging()
lgr.user
a character
scalar. The default username for
lgr::get_user()
.
Useful links: