(set-default-exception-handler)
(set-default-exception-handler {:keys [log] :or {log println}})
(set-default-exception-handler) or (set-default-exception-handler {:log (fn [ex tname] (log/error ex tname))}) ;; to wrap log/error macro or plugin another favorite logger
(set-default-exception-handler) or (set-default-exception-handler {:log (fn [ex tname] (log/error ex tname))}) ;; to wrap log/error macro or plugin another favorite logger
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close