Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created February 25, 2014 15:35
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 AeroNotix/f539482f8b27db8794c5 to your computer and use it in GitHub Desktop.
Save AeroNotix/f539482f8b27db8794c5 to your computer and use it in GitHub Desktop.
(defn log-stack-trace []
(let [st (with-out-str
(doall
(for [frame (rest (.. (Thread/currentThread) (getStackTrace)))]
(print (.toString frame) " "))))]
(warn st)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment