new_log | R Documentation |
Returns a new logger using the log
package.
new_log(prefix = ">", write = FALSE, file = "ambiorix.log", sep = "")
prefix |
String to prefix all log messages. |
write |
Whether to write the log to the |
file |
Name of the file to dump the logs to,
only used if |
sep |
Separator between |
An R& of class log::Logger
.
log <- new_log()
log$log("Hello world")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.