new_log {ambiorix} | R Documentation |
Logger
Description
Returns a new logger using the log
package.
Usage
new_log(prefix = ">", write = FALSE, file = "ambiorix.log", sep = "")
Arguments
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 |
Value
An R& of class log::Logger
.
Examples
log <- new_log()
log$log("Hello world")
[Package ambiorix version 2.2.0 Index]