old <- logger:::namespaces_set()
log_layout(layout_logging)
log_info(42)
log_info(42, namespace = "everything")
if (FALSE) {
devtools::load_all(system.file("demo-packages/logger-tester-package", package = "logger"))
logger_tester_function(INFO, 42)
}
logger:::namespaces_set(old)
Run the code above in your browser using DataLab