knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of drogger is twofold:
These wrappers
flog_info
instead of flog.info
)....
for message creation, i.e. you can flog_info("Hi ", "I am Lorenz")
instead of flog.info(paste("Hi", "I am Lorenz"))
to create a single log line.All logs are stored under ./logs
flog_start()
initializes a logger that writes to a new file with a time
stamp.flog_stop()
ends writing to the open connection, adding all content from the
current run to a log that contains all logged lines.open_log()
opens a log, by default the last log, which is found via
find_last_log()
archive_logs()
.parse_log()
into a tibble.You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("lorenzwalthert/drogger")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.