Log a success leaf line
Arguments
- msg
Character scalar.
- close
Logical. When
TRUE, force-close the enclosing section after this line: the line is shown as the section's terminal (corner) line and itsDoneline is suppressed. Defaults toFALSE.- summary
Whether to record this line in the
logtree_summary()digest.NA(default) records it only when it is a warning or error;TRUEalways records it;FALSEnever does.
Examples
logtree_reset()
log_success("Validated 12 parameters")
#> ✔ Validated 12 parameters
