Add a simple logging message to any function
Arguments
- .f
A function to decorate
Value
A function which returns a list. The first element of the list, $result, is the result of
the original function .f applied to its inputs, and the second element is a log message, $log.