Skip to contents

Steps

Open, close, and log a step in the tree

log_step()
Open a logged step
log_open()
Open a step under manual lifetime control
log_close()
Close a manually-opened step

Leaf lines

Status-tagged messages logged under the current step

log_info()
Log an informational leaf line
log_success()
Log a success leaf line
log_warn()
Log a warning leaf line
log_error()
Log an error leaf line
log_debug()
Log a debug leaf line

Error handling

with_logging()
Run an expression with top-level error handling and a run summary

Theming

logtree_theme()
Set the active glyph/color theme

Output & control

logtree_sink_file()
Add a file sink
logtree_threshold()
Set the minimum log level threshold to render
logtree_reset()
Reset internal logtree state
logtree_summary()
Report a digest of notable events

logger package integration

logtree_logger()
Route the logger package through logtree
layout_logtree()
A logger layout that renders through logtree