Hello, Clojure users.
I'm a beginner of Clojure, so it could be a dumb question.
I'm playing with Apache Storm, and I leave below line to see tuple value when something is wrong.
(log-warn "Can't transfer tuple - task value is null. tuple type: " (type tuple) " and information: " tuple)
log-warn is defined...
(ns backtype.storm.log
(:require [clojure.tools [logging :as log]]))
(defmacro log-warn
[& args]
`(log/warn (str ~@args)))
But it prints like...
2015-04-23T14:46:59.517+0200 b.s.d.worker [WARN] Can't transfer tuple - task value is null. tuple type: and information:
Evaluated value of (type tuple) and tuple value (maybe toString()?) doesn't printed.
Is this possible? If possible, please let me know what type the tuple can be.
Thanks!
Regards.
Jungtaek Lim (HeartSaVioR)