catch_base_log | R Documentation |
Catch the log header
catch_base_log(
level,
namespace,
.topcall = sys.call(-1),
.topenv = parent.frame()
)
level |
see |
namespace |
string |
string
## Not run:
catch_base_log(INFO, NA_character_)
logger <- layout_glue_generator(format = '{node}/{pid}/{namespace}/{fn} {time} {level}: {msg}')
log_layout(logger)
catch_base_log(INFO, NA_character_)
fun <- function() catch_base_log(INFO, NA_character_)
fun()
catch_base_log(INFO, NA_character_, .topcall = call('funLONG'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.