Uses of Interface
org.apache.logging.log4j.util.StringMap
Packages that use StringMap
Package
Description
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 private implementation classes.
Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson
library.
Log4j 2 helper classes.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
Internal utility classes for the Log4j 2 API.
SLF4J support.
-
Uses of StringMap in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return StringMapModifier and TypeMethodDescriptionContextDataInjector.injectContextData(List<Property> properties, StringMap reusable) Returns aStringMapobject initialized with the specified properties and the appropriate context data.Methods in org.apache.logging.log4j.core with parameters of type StringMapModifier and TypeMethodDescriptionContextDataInjector.injectContextData(List<Property> properties, StringMap reusable) Returns aStringMapobject initialized with the specified properties and the appropriate context data. -
Uses of StringMap in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async with parameters of type StringMapModifier and TypeMethodDescriptionvoidRingBufferLogEvent.setValues(AsyncLogger anAsyncLogger, String aLoggerName, Marker aMarker, String theFqcn, Level aLevel, Message msg, Throwable aThrowable, StringMap mutableContextData, ThreadContext.ContextStack aContextStack, long threadId, String threadName, int threadPriority, StackTraceElement aLocation, Clock clock, NanoClock nanoClock) -
Uses of StringMap in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement StringMapModifier and TypeClassDescriptionclassProvides a read-onlyStringMapview of aMap<String, String>.Methods in org.apache.logging.log4j.core.impl that return StringMapModifier and TypeMethodDescriptionstatic StringMapContextDataFactory.createContextData()static StringMapContextDataFactory.createContextData(int initialCapacity) static StringMapContextDataFactory.createContextData(Map<String, String> context) static StringMapContextDataFactory.createContextData(ReadOnlyStringMap readOnlyStringMap) static StringMapContextDataFactory.emptyFrozenContextData()An empty pre-frozen IndexedStringMap.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.injectContextData(List<Property> props, StringMap ignore) If there are no configuration properties, this injector will return the thread context's internal data structure.ThreadContextDataInjector.ForDefaultThreadContextMap.injectContextData(List<Property> props, StringMap contextData) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.ThreadContextDataInjector.ForGarbageFreeThreadContextMap.injectContextData(List<Property> props, StringMap reusable) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.ThreadContextDataProvider.supplyStringMap()Methods in org.apache.logging.log4j.core.impl with parameters of type StringMapModifier and TypeMethodDescriptionstatic voidThreadContextDataInjector.copyProperties(List<Property> properties, StringMap result) Copies key-value pairs from the specified property list into the specifiedStringMap.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.injectContextData(List<Property> props, StringMap ignore) If there are no configuration properties, this injector will return the thread context's internal data structure.ThreadContextDataInjector.ForDefaultThreadContextMap.injectContextData(List<Property> props, StringMap contextData) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.ThreadContextDataInjector.ForGarbageFreeThreadContextMap.injectContextData(List<Property> props, StringMap reusable) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.Log4jLogEvent.Builder.setContextData(StringMap contextData) voidMutableLogEvent.setContextData(StringMap mutableContextData) -
Uses of StringMap in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return StringMapModifier and TypeMethodDescriptionContextDataAsEntryListDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) ContextDataDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) -
Uses of StringMap in org.apache.logging.log4j.core.util
Methods in org.apache.logging.log4j.core.util that return StringMapModifier and TypeMethodDescriptiondefault StringMapContextDataProvider.supplyStringMap()Returns the context data as a StringMap. -
Uses of StringMap in org.apache.logging.log4j.layout.template.json.util
Methods in org.apache.logging.log4j.layout.template.json.util with parameters of type StringMap -
Uses of StringMap in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi that return StringMapModifier and TypeMethodDescriptionReadOnlyThreadContextMap.getReadOnlyContextData()Returns the context data for reading.ThreadContextMap2.getReadOnlyContextData()Returns the context data for reading. -
Uses of StringMap in org.apache.logging.log4j.util
Subinterfaces of StringMap in org.apache.logging.log4j.utilModifier and TypeInterfaceDescriptioninterfaceAn extension ofStringMapthat imposes a total ordering on its keys.Classes in org.apache.logging.log4j.util that implement StringMapModifier and TypeClassDescriptionclassConsider this class private. Array-based implementation of theReadOnlyStringMapinterface. -
Uses of StringMap in org.apache.logging.slf4j
Methods in org.apache.logging.slf4j that return StringMap