tests/testthat/teardown-logger.R

## Reset logger threshold ##
origLogThreshold <- as.numeric(Sys.getenv("PKGNET_TEST_ORIG_LOG_THRESHOLD"))
futile.logger::flog.threshold(
    threshold = origLogThreshold
    , name = futile.logger::flog.namespace()
)
Sys.unsetenv("PKGNET_TEST_ORIG_LOG_THRESHOLD")
UptakeOpenSource/pkgnet documentation built on Dec. 31, 2022, 9:42 a.m.