Liking cljdoc? Tell your friends :D
Clojure only.

sumologic-timbre-appender.core


sumologic-appenderclj

(sumologic-appender post-fn options)
(sumologic-appender async? post-fn options)

Log some data to SumoLogic. Takes the following arguments:

async? -- Should the appender wait until the post to SumoLogic is done before post-fn -- A function which takes a single log statement (string) and (required) posts it to the SumoLogic web service options -- A map containing the following optional keys:

:max-duration -- The longest we will take to do all (default 30000) our retries :max-retries -- The maximum number of times we will (default 10) retry :randomize-numerator -- A seed for a randomly (default 50) generated number divided into 100 that gets added to the retry duration :multiplier-base -- Initial delay to be added to (default 500) the randomized one :multiplier-factor -- Number to multiply the previous (default 1.5) number by on every retry

Log some data to SumoLogic. Takes the following arguments:

async?       -- Should the appender wait until the post to SumoLogic is
                done before
post-fn      -- A function which takes a single log statement (string) and
(required)      posts it to the SumoLogic web service
options      -- A map containing the following
                optional keys:

:max-duration -- The longest we will take to do all
(default 30000)  our retries
:max-retries  -- The maximum number of times we will
(default 10)     retry
:randomize-numerator -- A seed for a randomly
(default 50)            generated number
                        divided into 100 that
                        gets added to the retry
                        duration
:multiplier-base     -- Initial delay to be added to
(default 500)           the randomized one
:multiplier-factor -- Number to multiply the previous
(default 1.5)         number by on every retry
raw docstring

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

× close