if (FALSE) {
loggit("DEBUG", "This is a message")
loggit("INFO", "This is a message", echo = FALSE)
loggit("CUSTOM", "This is a message of a custom log_lvl", custom_log_lvl = TRUE)
loggit(
"INFO", "This is a message", but_maybe = "you want more fields?",
sure = "why not?", like = 2, or = 10, what = "ever"
)
}
Run the code above in your browser using DataLab