Liking cljdoc? Tell your friends :D

taoensso.timbre.appenders.carmine

Carmine (Redis) appender. Requires https://github.com/ptaoussanis/carmine.

Carmine (Redis) appender.
Requires https://github.com/ptaoussanis/carmine.
raw docstring

carmine-appenderclj

(carmine-appender &
                  [{:keys [conn-opts keyfn entry-fn nentries-by-level]
                    :or {keyfn default-keyfn
                         entry-fn default-entry-fn
                         nentries-by-level default-nentries-by-level}}])

Alpha, subject to change.

Returns a Carmine Redis appender:

  • All raw logging args are preserved in serialized form (even errors).
  • Configurable number of entries to keep per logging level.
  • Only the most recent instance of each unique entry is kept.
  • Resulting log is just a Clojure value: a vector of log entries (maps).

See also query-entries.

Alpha, subject to change.

Returns a Carmine Redis appender:
  * All raw logging args are preserved in serialized form (even errors).
  * Configurable number of entries to keep per logging level.
  * Only the most recent instance of each unique entry is kept.
  * Resulting log is just a Clojure value: a vector of log entries (maps).

See also `query-entries`.
sourceraw docstring

default-entry-fnclj

(default-entry-fn data)

(fn [data])-><db-entry>

(fn [data])-><db-entry>
sourceraw docstring

default-keyfnclj

(default-keyfn level)
source

default-nentries-by-levelclj

source

make-carmine-appenderclj

(make-carmine-appender & [appender-merge opts])

DEPRECATED. Please use carmine-appender instead.

DEPRECATED. Please use `carmine-appender` instead.
sourceraw docstring

query-entriesclj

(query-entries conn-opts level & [n asc? keyfn])

Alpha, subject to change. Returns latest n log entries by level as an ordered vector of deserialized maps.

Alpha, subject to change.
Returns latest `n` log entries by level as an ordered vector of
deserialized maps.
sourceraw docstring

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

× close