Liking cljdoc? Tell your friends :D

circleci.rollcage.core


clientclj

(client access-token)
(client access-token options)

Create a client that can can be passed used to send notifications to Rollbar. The following options can be set:

:os The name of the operating system running on the host. Defaults to the value of the os.name system property.

:hostname The hostname of the host.

:file-root The path on disk where the filenames in stack traces are relative to. Defaults the current working directory, as reported by the user.dir system property.

:environment The environment that the app is running is, for example staging or dev. Defaults to production.

:code-version A string, up to 40 characters, describing the version of the application code Rollbar understands these formats:

  • semantic version (i.e. '2.1.12')
  • integer (i.e. '45')
  • git SHA (i.e. '3da541559918a808c2402bba5012f6c60b27661c') There is no default value.

:result-fn An function that will be called after each exception is sent to Rollbar. The function will be passed 2 parameters:

  • The Throwable that was being reported
  • A map with the result of sending the exception to Rollbar. This map will have the following keys: :err - an integer, 1 if there was an error sending the exception to Rollbar, 0 otherwise. :message - A human-readable message describing the error.

See https://rollbar.com/docs/api/items_post/

More information on System Properties: https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html

Create a client that can can be passed used to send notifications to Rollbar.
The following options can be set:

:os
The name of the operating system running on the host. Defaults to the value
of the `os.name` system property.

:hostname
The hostname of the host.

:file-root
The path on disk where the filenames in stack traces are relative to. Defaults
the current working directory, as reported by the `user.dir` system property.

:environment
The environment that the app is running is, for example `staging` or `dev`.
Defaults to `production`.

:code-version
A string, up to 40 characters, describing the version of the application code
Rollbar understands these formats:
- semantic version (i.e. '2.1.12')
- integer (i.e. '45')
- git SHA (i.e. '3da541559918a808c2402bba5012f6c60b27661c')
There is no default value.

:result-fn
An function that will be called after each exception is sent to Rollbar.
The function will be passed 2 parameters:
- The Throwable that was being reported
- A map with the result of sending the exception to Rollbar. This map will
  have the following keys:
    :err     - an integer, 1 if there was an error sending the exception to
               Rollbar, 0 otherwise.
    :message - A human-readable message describing the error.

See https://rollbar.com/docs/api/items_post/

More information on System Properties:
https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
sourceraw docstring

criticalclj

source

debugclj

source

errorclj

source

infoclj

source

notifyclj

(notify level client exception)
(notify level
        {:keys [result-fn send-fn] :as client}
        exception
        {:keys [url params]})
source

setup-uncaught-exception-handlerclj

(setup-uncaught-exception-handler client)
(setup-uncaught-exception-handler client handler)

Setup handler to report all uncaught exceptions to rollbar, and optionally to an additional handler.

Setup handler to report all uncaught exceptions to rollbar, and optionally
to an additional handler.
sourceraw docstring

warningclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close