Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active May 11, 2017 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/2f799a8c54cbb2ffed391ad0e4056bf8 to your computer and use it in GitHub Desktop.
Save deque-blog/2f799a8c54cbb2ffed391ad0e4056bf8 to your computer and use it in GitHub Desktop.
(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