Class ContextDataUtils
- java.lang.Object
-
- io.opencensus.contrib.logcorrelation.log4j2.ContextDataUtils
-
final class ContextDataUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateContextDataUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static org.apache.logging.log4j.util.StringMapgetContextAndTracingData()private static SpanContextgetCurrentSpanContext()(package private) static org.apache.logging.log4j.util.StringMapinjectContextData(java.util.List<org.apache.logging.log4j.core.config.Property> properties, org.apache.logging.log4j.util.StringMap reusable)private static voidputProperties(java.util.Collection<org.apache.logging.log4j.core.config.Property> properties, org.apache.logging.log4j.util.StringMap stringMap)
-
-
-
Method Detail
-
injectContextData
static org.apache.logging.log4j.util.StringMap injectContextData(@Nullable java.util.List<org.apache.logging.log4j.core.config.Property> properties, org.apache.logging.log4j.util.StringMap reusable)
-
putProperties
private static void putProperties(java.util.Collection<org.apache.logging.log4j.core.config.Property> properties, org.apache.logging.log4j.util.StringMap stringMap)
-
getContextAndTracingData
static org.apache.logging.log4j.util.StringMap getContextAndTracingData()
-
getCurrentSpanContext
private static SpanContext getCurrentSpanContext()
-
-