flog_start | R Documentation |
Note that chaning the absolute path under which the logger is initialized and then issuing a logging statement will result in an error because the absolute path for logging is used so logging statements can be created from arbitrary working directories (i.e. within [withr::with_dir()]).
flog_start(threshold = futile.logger::INFO,
name = background_file_logger(), msg = "Started logging run",
root = ".")
threshold |
The new threshold for the given logger. |
name |
The name of the logger. |
msg |
An initial message to pass to the logger. |
root |
The root logging directory. Sometimes, it might be convenient to log to a temporary directory and then copy the log later somewhere else. |
Invisibly returns the path to the file that contains the log.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.