this is not acyively developed. Don't use it.
The goal of drogger is twofold:
These wrappers
- use snake case (i.e.
flog_infoinstead offlog.info). - Use
...for message creation, i.e. you canflog_info("Hi ", "I am Lorenz")instead offlog.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 viafind_last_log()- Conveniently archive logs with
archive_logs(). - Parsing a log file with
parse_log()into a tibble.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("lorenzwalthert/drogger")