Deco v0.1.2 Deco.Trace

Link to this section Summary

Functions

Traces function execution via Logger.info

Link to this section Functions

Traces function execution via Logger.info

Prints the arguments given and the result of the decorated function.

This implementation prints the arguments before applying them to the decorated function, thus you’ll see what was called even if no function guards matches.

This example converts its decorated function into private.