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.
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](https://github.com/clojure/tools.logging) of your project.
(install-pretty-logging)
(install-pretty-logging frame-filter-fn)
Modifies clojure.tools.logging to use pretty exception logging.
Modifies clojure.tools.logging to use pretty exception logging.
(install-uncaught-exception-handler)
Installs a default UncaughtExceptionHandler.
Installs a default UncaughtExceptionHandler.
(uncaught-exception-handler)
Creates a reified UncaughtExceptionHandler that uses clojure.tools.logging/error, rather than simplying printing the exception, which is the default behavior.
Creates a reified UncaughtExceptionHandler that uses clojure.tools.logging/error, rather than simplying printing the exception, which is the default behavior.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |