io.aviso.logging
added in 0.1.15
Provides functions that hook into clojure.tools.logging to make use of Pretty to format exceptions.
You must add clojure.tools.logging as an explicit dependency of your project.
install-pretty-logging
(install-pretty-logging)(install-pretty-logging frame-filter-fn)Modifies clojure.tools.logging to use pretty exception logging.
install-uncaught-exception-handler
(install-uncaught-exception-handler)Installs a default UncaughtExceptionHandler.
uncaught-exception-handler
(uncaught-exception-handler)Creates a reified UncaughtExceptionHandler that uses clojure.tools.logging/error, rather than simply printing the exception, which is the default behavior.