TracingSymbols
The log4k tracing symbols the transformers correlate logs and spans with, resolved once per module: TracingContext (plus its currentOrNull()) and TracingEvent.Span. Each is null when the runtime on the classpath predates it — callers degrade gracefully.
Shared by io.github.smyrgeorge.log4k.compiler.callsite.CallSiteIrTransformer, io.github.smyrgeorge.log4k.compiler.logged.LoggedIrTransformer and io.github.smyrgeorge.log4k.compiler.trace.TraceIrTransformer.
Properties
Functions
Link copied to clipboard
Builds <receiver>.currentOrNull() — the active span of the TracingContext yielded by receiver — or null when currentOrNull is unresolved.