A log appender that captures log events in memory.
A log appender that captures log events in memory.
(add-consumer appender {:keys [id filters] :as consumer})Add the consumer to the appender.
Add the `consumer` to the `appender`.
(add-event appender event)Add the event to the appender.
Add the `event` to the `appender`.
(clear appender)Clear the events from the appender.
Clear the events from the `appender`.
(consumer-by-id appender id)Find the consumer of appender by id.
Find the consumer of `appender` by `id`.
(consumers appender)Return the consumers of the appender.
Return the consumers of the `appender`.
(event appender id)Lookup the event by id from the log appender.
Lookup the event by `id` from the log `appender`.
(events appender)Return the events from the appender.
Return the events from the `appender`.
(make-appender {:keys [id filters levels logger size threshold]})Make a hash map appender.
Make a hash map appender.
(remove-consumer appender consumer)Remove the consumer from the appender.
Remove the `consumer` from the `appender`.
(update-appender appender {:keys [filters size threshold]})Update the log appender.
Update the log `appender`.
(update-consumer appender {:keys [id filters] :as consumer})Update the consumer of the appender.
Update the `consumer` of the `appender`.
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 |