Skip to contents

Log an informational leaf line

Usage

log_info(msg, close = FALSE, summary = NA)

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 its Done line is suppressed. Defaults to FALSE.

summary

Whether to record this line in the logtree_summary() digest. NA (default) records it only when it is a warning or error; TRUE always records it; FALSE never does.

Value

NULL, invisibly.

Examples

logtree_reset()
log_info("Reading config.yml")
#>  Reading config.yml