(defn repeat-n | |
[n s] | |
(println ; Print | |
(log-symbol-values ; the log message with: | |
(function-log-prefix "repeat-n") ; - as prefix: the function name | |
'[n s] ; - the arguments' symbols | |
[n s])) ; - the arguments' values | |
...) ; Implementation | |
; Calling the function | |
(repeat-n 3 "hello") | |
; Produces the log trace: | |
"[TRACE] Call to \"repeat-n\" with arguments: {n 3, s \"hello\"}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment