Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defn function-log-prefix
"Return the prefix of the log entry for a function"
[fct-name]
(str "[TRACE] Call to \"" fct-name "\" with arguments: "))
(defn log-symbol-values
"Log the values of a list of symbols, with a prefix"
[prefix symbols values]
(str prefix (zipmap symbols values)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment