Creates a new named log as a list to store log entries. If the log already
exists, it will be reset (unless overwrite = FALSE
).
Usage
log_init(
name = getOption("pipfun.log.default"),
overwrite = getOption("pipfun.log_init.ow")
)
Arguments
- name
Name of the log to create (default: "default").
- overwrite
Whether to overwrite an existing log with the same name.
Value
Invisibly returns the initialized log name.