Set the log level for DVS internals
Description
Section titled “Description”Controls which log messages from the DVS internals are routed to R’s
console. error and warn go to stderr(). info, debug and trace
go to stdout.
The R package does not consult the RUST_LOG environment variable.
RUST_LOG=dvs=<level> only affects the dvs CLI binary. In R, call
set_dvs_log_level().
The level is "off" when the package loads, so there is no log output
until this function is called.
set_dvs_log_level(level = c("off", "error", "warn", "info", "debug", "trace"))Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
level | One of “off”, “error”, “warn”, “info”, “debug”, “trace”. |
NULL, invisibly. It is called for its side effect.
Examples
Section titled “Examples”# Not run:set_dvs_log_level("info") # opt inset_dvs_log_level("debug")set_dvs_log_level("off") # restore default (silent)