(ns emptyhead.util.logging)

(defn error [message & data]
  (throw (ex-info message {:data data})))

(defn warn [message & data]
  (error message data))

(defn message [message & data]
  (println message {:data data}))
