Class ContextDataUtils


  • final class ContextDataUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ContextDataUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static org.apache.logging.log4j.util.StringMap getContextAndTracingData()  
      private static SpanContext getCurrentSpanContext()  
      (package private) static org.apache.logging.log4j.util.StringMap injectContextData​(java.util.List<org.apache.logging.log4j.core.config.Property> properties, org.apache.logging.log4j.util.StringMap reusable)  
      private static void putProperties​(java.util.Collection<org.apache.logging.log4j.core.config.Property> properties, org.apache.logging.log4j.util.StringMap stringMap)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextDataUtils

        private ContextDataUtils()
    • 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()