For details please refer to vignette("lgr", package = "lgr").
Options
You can also set these options in your .Rprofile to make them permanent.
Some options can also be set via environment variables (The environment
variables are only used if the option is not set manually from R).
lgr.colorsa
listoffunctionsused for coloring the log levels in console output. Usually these will be functions from the package crayonlgr.log_levelsA named
integervector of log levels that are known to lgr for labeling, setting thresholds, etc... . Instead of modifying this option manually useadd_log_levels()andremove_log_levels()lgr.default_thresholdcharacterorintegerscalar. The minimum log level that should be processed by the root logger. Defaults to400("info"), or to the value of the environment variableLGR_DEFAULT_THRESHOLDif it is set. This option overrides the threshold specified inlgr.default_configif both are set.lgr.default_configDefault configuration for the root logger. Can either be a special list object, a path to a YAML file, or a character scalar containing YAML code. See logger_config for details. Defaults to the value of the environment variable
LGR_DEFAULT_CONFIGif it is set.lgr.suspend_loggingTRUEorFALSE. Suspend all logging for all loggers. Defaults to theTRUEif the environment variableLGR_SUSPEND_LOGGINGis set to"TRUE". Instead of modifying this option manually usesuspend_logging()andunsuspend_logging()lgr.usera
characterscalar. The default username forlgr::get_user().
Author
Maintainer: Stefan Fleck stefan.b.fleck@gmail.com (ORCID)