Vocabulary
logging

Inputs
worda word
levela log level


Outputs
None

Word description
Causes the word to log its input values and any errors it throws.

If the word is not executed in a dynamic scope established by with-logging, its behavior is unchanged, and any errors it throws are passed to the caller.

If called from a logging context, its input values are logged, and if it throws an error, the error is logged and the word returns normally. Any inputs are popped from the stack and f is pushed in place of each output.

Definition