Description Usage Arguments Value Examples
log_file
creates an active instance
of a log file to which loggr can pass errors, warnings and messages.
If this file already exists, it will be appended
to unless overwrite
is set to TRUE.
1 2 3 |
file_name |
the path to the log file. |
... |
list of quoted or unquoted events to log. In none are provided all log events will be captured. |
.warning |
logical: capture regular warnings ( |
.error |
logical: capture regular errors ( |
.message |
logical: capture regular messages ( |
.formatter |
function: the formatting function used to convert a log event to its character representation for the log file. |
subscriptions |
character vector: optional list of
subscriptions to use (in place of specifying with |
overwrite |
logical: whether or not to overwrite the file at
|
log_muffled |
logical: Log messages and warnings
even if muffled? This affects only logging as result of
|
NULL
, invisibly.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.