Liking cljdoc? Tell your friends :D

steffan-westcott.clj-otel.adapter.log4j

Appender and context data provider for Log4j. Has the same configuration and functionality provided by OpenTelemetry Java instrumentation versions, but is bound context aware.

Appender and context data provider for Log4j. Has the same configuration and
functionality provided by OpenTelemetry Java instrumentation versions, but
is bound context aware.
raw docstring

appendclj

(append appender event)

Appends a LogEvent by emitting as a log record. If initialize has been evaluated, the log record is emitted immediately (but not necessarily exported). Otherwise, the log record is added to a queue of delayed emits.

Appends a `LogEvent` by emitting as a log record. If [[initialize]] has been
evaluated, the log record is emitted immediately (but not necessarily
exported). Otherwise, the log record is added to a queue of delayed emits.
sourceraw docstring

context-dataclj

(context-data)

Returns a string map to add to Log4j context data. This includes trace id, span id, trace flags and baggage (if enabled). The data is taken from the span in the bound or current context.

Returns a string map to add to Log4j context data. This includes trace id,
span id, trace flags and baggage (if enabled). The data is taken from the
span in the bound or current context.
sourceraw docstring

initializeclj

(initialize)

Process delayed emits, then ensure future emits are processed immediately.

This fn should be evaluated as soon as the default or global OpenTelemetry instance has been initialized. Emits issued beforehand are added to a queue of delayed emits.

Process delayed emits, then ensure future emits are processed immediately.

This fn should be evaluated as soon as the default or global OpenTelemetry
instance has been initialized. Emits issued beforehand are added to a queue
of delayed emits.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close