Skip to contents

Clears the open-step stack and resets the internal id counter. Mainly useful for tests and interactive/knitr re-runs where a previous run may have left the stack non-empty (e.g. after an uncaught error with no with_logging() wrapper).

Usage

logtree_reset()

Value

NULL, invisibly.

Examples

logtree_reset()